MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / RemoveTrailingPathSeparator

Method RemoveTrailingPathSeparator

src/gtest/gtest-all.cpp:7766–7770  ·  view source on GitHub ↗

If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, uses \ as the separator, other platforms use /.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

CreateFolderMethod · 0.95
ConcatPathsMethod · 0.80

Calls 2

FilePathFunction · 0.85
StringFunction · 0.70

Tested by

no test coverage detected