diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-06-24 13:37:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-06-24 13:37:09 -0400 |
| commit | 271017ba9970e4220e1bd0dc83ce146afe9222a2 (patch) | |
| tree | 995233d21141f164aa5f9e1d9b7bab757124e622 /src/stdlib/paths.h | |
| parent | e122e5525ef044c25c2cd888bc267f7a2bd91b4f (diff) | |
Add Path.has_extension() and update manpages/api docs
Diffstat (limited to 'src/stdlib/paths.h')
| -rw-r--r-- | src/stdlib/paths.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/paths.h b/src/stdlib/paths.h index 4f94d3e4..3a9cdef7 100644 --- a/src/stdlib/paths.h +++ b/src/stdlib/paths.h @@ -51,6 +51,7 @@ Path_t Path$write_unique_bytes(Path_t path, List_t bytes); Path_t Path$parent(Path_t path); Text_t Path$base_name(Path_t path); Text_t Path$extension(Path_t path, bool full); +bool Path$has_extension(Path_t path, Text_t extension); Path_t Path$child(Path_t path, Text_t name); Path_t Path$sibling(Path_t path, Text_t name); Path_t Path$with_extension(Path_t path, Text_t extension, bool replace); |
