diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h index 5c4112b..9aada38 100644 --- a/src/graph.h +++ b/src/graph.h @@ -72,6 +72,8 @@ struct Node { } const string& path() const { return path_; } + /// Get |path()| but use slash_bits to convert back to original slash styles. + string PathDecanonicalized() const; unsigned int slash_bits() const { return slash_bits_; } TimeStamp mtime() const { return mtime_; } @@ -93,7 +95,8 @@ struct Node { private: string path_; - /// XXX See CanonicalizePath. + /// Set bits starting from lowest for backslashes that were normalized to + /// forward slashes by CanonicalizePath. See |PathDecanonicalized|. unsigned int slash_bits_; /// Possible values of mtime_: |