diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h index 45a6cf8..b290d24 100644 --- a/src/graph.h +++ b/src/graph.h @@ -149,12 +149,22 @@ struct Edge { /// Return true if all inputs' in-edges are ready. bool AllInputsReady() const; + /// Expand all variables in a command and return it as a string. + /// If incl_rsp_file is enabled, the string will also contain the + /// full contents of a response file (if applicable) string EvaluateCommand(bool incl_rsp_file = false); // XXX move to env, take env ptr string EvaluateDepFile(); string GetDescription(); + + /// Does the edge use a response file? bool HasRspFile(); + + /// Get the path to the response file string GetRspFile(); + + /// Get the contents of the response file string GetRspFileContent(); + bool LoadDepFile(State* state, DiskInterface* disk_interface, string* err); void Dump(); |