James Turner:
- added a 'filename' helper to SGPath, corresponding to the 'directory' helper but returning just the filename portion of the name.
This commit is contained in:
@@ -100,6 +100,12 @@ public:
|
||||
*/
|
||||
string dir();
|
||||
|
||||
/**
|
||||
* Return the filename part of the path.
|
||||
* @return file name string
|
||||
*/
|
||||
string filename();
|
||||
|
||||
/** Get the path string
|
||||
* @return path string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user