From 40274c1f4f763e634dd031f7a6b4ba8ce2de7a82 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Jul 2003 13:22:08 +0000 Subject: * A command to query the paths referenced by an fstate expression. * Use a temporary directory for build actions. --- src/util.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.hh') diff --git a/src/util.hh b/src/util.hh index a8f801b30c5d..684bafbb55d6 100644 --- a/src/util.hh +++ b/src/util.hh @@ -60,6 +60,8 @@ string dirOf(string path); the final `/'. */ string baseNameOf(string path); +/* Return true iff the given path exists. */ +bool pathExists(const string & path); /* Delete a path; i.e., in the case of a directory, it is deleted recursively. Don't use this at home, kids. */ -- cgit 1.4.1