Changeset 623 in dev for trunk/ab5.0/jenga/src/common
- Timestamp:
- May 21, 2008, 11:02:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/src/common/Path.cpp
r518 r623 77 77 return MakeFullPath( relativePath, Jenga::Common::Environment::GetCurrentDir() ); 78 78 } 79 std::string Jenga::Common::Path::ExtractDirPath( const std::string &filepath ) 80 { 81 Path path( filepath ); 82 std::string result = path.GetDriveName() + path.GetDirName(); 83 return result; 84 }
Note:
See TracChangeset
for help on using the changeset viewer.