* Refactorings.
This commit is contained in:
parent
ab350eafd2
commit
6f1a0f948d
14 changed files with 635 additions and 605 deletions
25
src/normalise.hh
Normal file
25
src/normalise.hh
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef __NORMALISE_H
|
||||
#define __NORMALISE_H
|
||||
|
||||
#include "fstate.hh"
|
||||
|
||||
|
||||
/* Normalise an fstate-expression, that is, return an equivalent
|
||||
Slice. */
|
||||
Slice normaliseFState(FSId id);
|
||||
|
||||
/* Realise a Slice in the file system. */
|
||||
void realiseSlice(const Slice & slice);
|
||||
|
||||
/* 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);
|
||||
|
||||
/* Register a successor. */
|
||||
void registerSuccessor(const FSId & id1, const FSId & id2);
|
||||
|
||||
|
||||
#endif /* !__NORMALISE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue