MCPcopy Create free account
hub / github.com/boostorg/filesystem / portable_name

Function portable_name

src/portability.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 BOOST_FILESYSTEM_DECL bool portable_name(const std::string & name)
86 {
87 return
88 name.size() != 0
89 && (name == "."
90 || name == ".."
91 || (windows_name(name)
92 && portable_posix_name(name)
93 && name[0] != '.' && name[0] != '-'));
94 }
95
96 BOOST_FILESYSTEM_DECL bool portable_directory_name(const std::string & name)
97 {

Callers 3

name_function_testsFunction · 0.85
portable_directory_nameFunction · 0.85
portable_file_nameFunction · 0.85

Calls 2

windows_nameFunction · 0.85
portable_posix_nameFunction · 0.85

Tested by 1

name_function_testsFunction · 0.68