|
Ninja
|
Information about a single on-disk file: path, mtime. More...
#include <graph.h>
Public Member Functions | |
| bool | exists () const |
| FileStat (const string &path) | |
| bool | Stat (DiskInterface *disk_interface) |
| Return true if the file exists (mtime_ got a value). | |
| bool | StatIfNecessary (DiskInterface *disk_interface) |
| Return true if we needed to stat. | |
| bool | status_known () const |
Public Attributes | |
| time_t | mtime_ |
| Node * | node_ |
| string | path_ |
| bool FileStat::exists | ( | ) | const [inline] |
Definition at line 43 of file graph.h.
Referenced by Edge::RecomputeOutputDirty().
| bool FileStat::Stat | ( | DiskInterface * | disk_interface | ) |
Return true if the file exists (mtime_ got a value).
Definition at line 26 of file graph.cc.
References mtime_, path_, and DiskInterface::Stat().
| bool FileStat::StatIfNecessary | ( | DiskInterface * | disk_interface | ) | [inline] |
Return true if we needed to stat.
Definition at line 36 of file graph.h.
Referenced by Builder::AddTarget().
| bool FileStat::status_known | ( | ) | const [inline] |
Definition at line 47 of file graph.h.
Referenced by StatCache::Dump().
| time_t FileStat::mtime_ |
Definition at line 56 of file graph.h.
Referenced by BuildTest::Dirty(), Edge::RecomputeOutputDirty(), and Stat().
Definition at line 57 of file graph.h.
Referenced by StatCache::Dump(), State::GetNode(), and State::LookupNode().
| string FileStat::path_ |
Definition at line 51 of file graph.h.
Referenced by Plan::AddSubTarget(), GraphViz::AddTarget(), Cleaner::DoCleanTarget(), StatCache::Dump(), Edge::RecomputeOutputDirty(), and Stat().
1.7.5.1