|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
📂 Cross-platform path manipulation with normalization and Windows/Unix separator handling More...
Go to the source code of this file.
Functions | |
| const char * | extract_project_relative_path (const char *file) |
| Extract relative path from an absolute path. | |
| char * | expand_path (const char *path) |
| Expand path with tilde (~) support. | |
| char * | get_config_dir (void) |
| Get configuration directory path with XDG_CONFIG_HOME support. | |
| char * | get_log_dir (void) |
| Get log directory path appropriate for current build type. | |
| bool | path_normalize_copy (const char *path, char *out, size_t out_len) |
| Normalize a path and copy it into the provided buffer. | |
| bool | path_is_absolute (const char *path) |
| Determine whether a path is absolute on the current platform. | |
| bool | path_is_within_base (const char *path, const char *base) |
| Check whether a path resides within a specified base directory. | |
| bool | path_is_within_any_base (const char *path, const char *const *bases, size_t base_count) |
| Check whether a path resides within any of several base directories. | |
| bool | path_looks_like_path (const char *value) |
| Determine if a string is likely intended to reference the filesystem. | |
| asciichat_error_t | path_validate_user_path (const char *input, path_role_t role, char **normalized_out) |
| Validate and canonicalize a user-supplied filesystem path. | |
📂 Cross-platform path manipulation with normalization and Windows/Unix separator handling
Definition in file path.c.