mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
Fix doxygen comments
This commit is contained in:
parent
4329bdf6a3
commit
21140c987b
1 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace nix::fetchers {
|
||||
|
||||
/*
|
||||
/**
|
||||
* A cache for arbitrary `Attrs` -> `Attrs` mappings with a timestamp
|
||||
* for expiration.
|
||||
*/
|
||||
|
@ -14,7 +14,7 @@ struct Cache
|
|||
{
|
||||
virtual ~Cache() { }
|
||||
|
||||
/*
|
||||
/**
|
||||
* Add a value to the cache. The cache is an arbitrary mapping of
|
||||
* Attrs to Attrs.
|
||||
*/
|
||||
|
@ -22,13 +22,13 @@ struct Cache
|
|||
const Attrs & inAttrs,
|
||||
const Attrs & infoAttrs) = 0;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Look up a key with infinite TTL.
|
||||
*/
|
||||
virtual std::optional<Attrs> lookup(
|
||||
const Attrs & inAttrs) = 0;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Look up a key. Return nothing if its TTL has exceeded
|
||||
* `settings.tarballTTL`.
|
||||
*/
|
||||
|
@ -41,7 +41,7 @@ struct Cache
|
|||
Attrs infoAttrs;
|
||||
};
|
||||
|
||||
/*
|
||||
/**
|
||||
* Look up a key. Return a bool denoting whether its TTL has
|
||||
* exceeded `settings.tarballTTL`.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue