#include "lib/sysdep/os.h"
#include "lib/utf8.h"
#include <algorithm>
#include <cstring>
#include <functional>
Go to the source code of this file.
|
bool | path_is_subpath (const wchar_t *s1, const wchar_t *s2) |
| is s2 a subpath of s1, or vice versa? (equal counts as subpath) More...
|
|
const wchar_t * | path_name_only (const wchar_t *path) |
| Get the path component of a path. More...
|
|
static std::wostream & | operator<< (std::wostream &s, const Path &path) |
|
static std::wistream & | operator>> (std::wistream &s, Path &path) |
|
◆ operator<<()
static std::wostream & operator<< |
( |
std::wostream & |
s, |
|
|
const Path & |
path |
|
) |
| |
|
inlinestatic |
◆ operator>>()
static std::wistream & operator>> |
( |
std::wistream & |
s, |
|
|
Path & |
path |
|
) |
| |
|
inlinestatic |
◆ path_is_subpath()
bool path_is_subpath |
( |
const wchar_t * |
s1, |
|
|
const wchar_t * |
s2 |
|
) |
| |
is s2 a subpath of s1, or vice versa? (equal counts as subpath)
- Parameters
-
- Returns
- bool
◆ path_name_only()
const wchar_t * path_name_only |
( |
const wchar_t * |
path | ) |
|
Get the path component of a path.
Skips over all characters up to the last dir separator, if any.
- Parameters
-
- Returns
- pointer to path component within <path>.