api
path.ch
Declarations in path.ch
1 declarationsfs
Declarations
Public only
fs#
Publicnamespace
namespace fs
path_ptr#
Publictypealias
type path_ptr = *char
mut_path_ptr#
Publictypealias
type mut_path_ptr = *char
basename#
Publicfunction
dirname#
Publicfunction
extension#
Publicfunction
extension (returns extension starting at '.' or empty)
join_path#
Publicfunction
join path a + b -> out (normalizes separators). Caller must provide out buffer.
normalize_path#
Publicfunction
normalize_path: resolve "." and ".." (does not resolve symlinks). Uses stack arrays for components.
find_last_pos_of_or#
function
func find_last_pos_of_or(str : *char, len : size_t, value : char, value2 : char) : int
parent_path_view#
Publicfunction