87std::pair<Generations, std::optional<GenerationNumber>> findGenerations(
Path profile);
133void deleteGenerations(
const Path & profile,
const std::set<GenerationNumber> & gensToDelete,
bool dryRun);
156void deleteOldGenerations(
const Path & profile,
bool dryRun);
167void deleteGenerationsOlderThan(
const Path & profile, time_t
t,
bool dryRun);
174time_t parseOlderThanTimeSpec(std::string_view timeSpec);
182void switchLink(
Path link,
Path target);
188void switchGeneration(
189 const Path & profile,
190 std::optional<GenerationNumber> dstGen,
210std::string optimisticLockProfile(
const Path & profile);
221Path rootProfilesDir();
226Path defaultChannelsDir();
231Path rootChannelsDir();
238Path getDefaultProfile();
Definition local-fs-store.hh:46
Definition pathlocks.hh:25
ChunkedVector< std::string, 8192 > store
Definition lexer.l:1011
T t
Definition lexer.l:154
WriteLock lock()
Definition lexer.l:6739
std::list< Generation > Generations
Definition profiles.hh:67
uint64_t GenerationNumber
Definition profiles.hh:28
Definition profiles.hh:37
time_t creationTime
Definition profiles.hh:61
GenerationNumber number
Definition profiles.hh:42
Path path
Definition profiles.hh:54
std::string Path
Definition types.hh:22