1234567891011121314151617181920212223242526272829303132 |
- #ifndef FILE_PATH_SEPARATOR_HPP
- #define FILE_PATH_SEPARATOR_HPP
- #include <string>
- namespace ls_std {
- class FilePathSeparator {
- public:
- FilePathSeparator() = default;
- ~FilePathSeparator() = default;
- static char getLinuxFilePathSeparator() {
- return '/';
- }
- static char getUnixFilePathSeparator() {
- return '\\';
- }
- };
- }
- #endif
|