summaryrefslogtreecommitdiffstats
path: root/src/clean.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clean.h')
-rw-r--r--src/clean.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clean.h b/src/clean.h
index 8359901..5a23283 100644
--- a/src/clean.h
+++ b/src/clean.h
@@ -81,10 +81,14 @@ class Cleaner {
/// @returns whether the file @a path exists.
bool FileExists(const string& path);
void Report(const string& path);
+
/// Remove the given @a path file only if it has not been already removed.
void Remove(const string& path);
/// @return whether the given @a path has already been removed.
bool IsAlreadyRemoved(const string& path);
+ /// Remove the depfile and rspfile for an Edge.
+ void RemoveEdgeFiles(Edge* edge);
+
/// Helper recursive method for CleanTarget().
void DoCleanTarget(Node* target);
void PrintHeader();