diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h index 5f8d41a..cf15123 100644 --- a/src/graph.h +++ b/src/graph.h @@ -72,8 +72,13 @@ struct Node { const string& path() const { return path_; } /// Get |path()| but use slash_bits to convert back to original slash styles. - string PathDecanonicalized() const; + string PathDecanonicalized() const { + return PathDecanonicalized(path_, slash_bits_); + } + static string PathDecanonicalized(const string& path, + unsigned int slash_bits); unsigned int slash_bits() const { return slash_bits_; } + TimeStamp mtime() const { return mtime_; } bool dirty() const { return dirty_; } |