summaryrefslogtreecommitdiffstats
path: root/src/disk_interface.h
Commit message (Collapse)AuthorAgeFilesLines
* Comply with project formatting rules wrt 80 column linesMichael Jones2020-09-301-2/+4
|
* Remove 'using namespace std' from header files, properly namespace all std ↵Michael Jones2020-09-301-15/+14
| | | | symbols
* Expose more details in FileReader::ReadFile signatureBrad King2016-02-031-3/+12
| | | | | | Return a status so callers can distinguish a missing file from an empty file. This allows our VirtualFileSystem test infrastructure to report as missing any file for which it has no entry.
* Factor a `FileReader` base class out of `DiskInterface`Brad King2016-02-031-6/+10
| | | | | Some clients will need only the ability to read files, so provide this as a more narrow interface than the full disk interface.
* Let Stat() have an err outparam instead of writing to stderr.Nico Weber2015-03-311-7/+4
| | | | | | | | | Also check for Stat() failure in a few more places. This way, ninja doesn't print two "ninja: error: " lines if stat() fails during a build. It also makes it easier to keep the stat tests quiet. Every caller of Stat() needs to explicitly log the error string if that's desired.
* make Stat() a const methodNico Weber2014-06-191-3/+3
|
* simplify statcache code moreNico Weber2014-06-161-3/+2
|
* make bool exist everywhere, for simpler calling codeNico Weber2014-06-151-1/+1
|
* add some statcache testsNico Weber2014-06-151-1/+3
|
* Free cache memory once it's no longer used.Nico Weber2014-06-151-1/+5
| | | | | Doesn't slow down empty build times measurably, and saves some memory on non-empty builds.
* commentNico Weber2014-06-151-1/+7
|
* make win-onlyNico Weber2014-06-151-0/+2
|
* Add a stat cache. Demo-quality, and disabled atm.Nico Weber2014-06-151-1/+8
|
* make DiskInterfaceTest.StatBadPath quietEvan Martin2013-04-191-0/+4
| | | | | | Add a flag to temporarily suppress error output. Fixes issue #281.
* Put & operator with the type rather than the variable name.Thiago Farina2012-04-281-2/+2
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Fix tabs, typosPetrWolf2012-02-141-3/+3
|
* Response filesunknown2012-02-091-0/+5
|
* convert all time_t to a new TimeStamp typeEvan Martin2012-01-051-9/+12
|
* Move RealDiskInterface class to disk_interface.h.Thiago Farina2011-08-251-0/+9
| | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Factor out DiskInterface class into its own source/header files.Thiago Farina2011-08-101-0/+49
This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>