Skip to content
Permalink
Browse files

Fix wrong documentation of FS::Path::DirName

  • Loading branch information...
slipher committed Aug 12, 2019
1 parent 939052e commit 1dca40fcbc83b8c039c79c118e5b885b6017784e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/common/FileSystem.h
@@ -158,8 +158,8 @@ namespace Path {
std::string Build(Str::StringRef base, Str::StringRef path);

// Get the directory portion of a path:
// a/b/c => a/b/
// a/b/ => a/
// a/b/c => a/b
// a/b/ => a
// a => ""
std::string DirName(Str::StringRef path);

0 comments on commit 1dca40f

Please sign in to comment.
You can’t perform that action at this time.