diff options
Diffstat (limited to 'src/fstate.hh')
-rw-r--r-- | src/fstate.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fstate.hh b/src/fstate.hh index 72fc52805291..2ae876b7cd2e 100644 --- a/src/fstate.hh +++ b/src/fstate.hh @@ -101,7 +101,12 @@ Slice normaliseFState(FSId id); /* Realise a Slice in the file system. */ void realiseSlice(const Slice & slice); -Strings fstatePaths(FSId id, bool normalise); +/* Get the list of root (output) paths of the given + fstate-expression. */ +Strings fstatePaths(const FSId & id, bool normalise); + +/* Get the list of paths referenced by the given fstate-expression. */ +StringSet fstateRefs(const FSId & id); #endif /* !__FSTATE_H */ |