ONE - On-device Neural Engine
|
Functions | |
const std::string | separator () |
std::string | normalize_path (const std::string &path) |
Normalize compatible separator in path to default separator. | |
bool | is_dir (const std::string &path) |
bool | mkdir (const std::string &path) |
std::string | join (const std::string &path1, const std::string &path2) |
std::string | basename (const std::string &path) |
std::string filesystem::basename | ( | const std::string & | path | ) |
Definition at line 29 of file filesystem_common.cpp.
References basename(), separator(), and size.
Referenced by basename().
bool filesystem::is_dir | ( | const std::string & | path | ) |
Definition at line 33 of file filesystem_linux.cpp.
std::string filesystem::join | ( | const std::string & | path1, |
const std::string & | path2 | ||
) |
Definition at line 22 of file filesystem_common.cpp.
References separator().
bool filesystem::mkdir | ( | const std::string & | path | ) |
Definition at line 44 of file filesystem_linux.cpp.
std::string filesystem::normalize_path | ( | const std::string & | path | ) |
Normalize compatible separator in path to default separator.
Definition at line 27 of file filesystem_linux.cpp.
const std::string filesystem::separator | ( | ) |
Definition at line 25 of file filesystem_linux.cpp.
Referenced by basename(), and join().