Lines Matching refs:path
37 /// Short way to get a Node by its path from state_.
38 Node* GetNode(const std::string& path);
55 void Create(const std::string& path, const std::string& contents);
64 virtual TimeStamp Stat(const std::string& path, std::string* err) const;
65 virtual bool WriteFile(const std::string& path, const std::string& contents);
66 virtual bool MakeDir(const std::string& path);
67 virtual Status ReadFile(const std::string& path, std::string* contents,
69 virtual int RemoveFile(const std::string& path);
102 /// A class that records a file path and ensures that it is removed
106 /// Constructor just records the file path.
107 ScopedFilePath(const std::string& path) : path_(path) {}
108 ScopedFilePath(const char* path) : path_(path) {}
121 const std::string& path() const { return path_; }