diff options
author | Kirill Elagin <kirelagin@gmail.com> | 2015-07-13T12·25+0300 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-08-07T01·35+0200 |
commit | 3b0f60e5c2a1a573bec46740982b48ca32b835c4 (patch) | |
tree | cc00f328f76e3071d33856104f43a71243bca22b /src/libexpr/attr-set.hh | |
parent | 896428c81850bf53488e35fee2c40f8218f4574e (diff) |
baseNameOf: Enhance `basename` compatibility
* If the path ends with a slash, drop it. * If the remaining path doesn’t contain slashes, just return it. Fixes #574.
Diffstat (limited to 'src/libexpr/attr-set.hh')
0 files changed, 0 insertions, 0 deletions