u32 b32
Definition basictypes.h:39
b32 path_remove(const string *path)
Removes a file or directory at path.
Definition path.c:292
string * path_basename(arena_t *arena, const string *path)
Get the basename i.e the filename.extension / final dir of path.
Definition path.c:53
string * path_join(arena_t *arena, const string *first, const string *second)
Joins two paths together.
Definition path.c:185
b32 does_path_exist(const string *path)
Checks if a path exists.
Definition path.c:243
string * path_extension(arena_t *arena, const string *path)
Get the extension of path.
Definition path.c:112
string * path_canonical(arena_t *arena, const string *path)
Gets the absolute/canonical path of path.
Definition path.c:35
string * path_stem(arena_t *arena, const string *path)
Get the stem of path.
Definition path.c:145
b32 make_dir(const string *path)
Makes a directory.
Definition path.c:227
string * path_dirname(arena_t *arena, const string *path)
Get the dirname of a path.
Definition path.c:74
An arena.
Definition arena.h:33