diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-09 02:02:08 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-09 02:02:08 -0400 |
| commit | 1fbe2cb5dd1aa4b20411ee0c3b00310677373a55 (patch) | |
| tree | 5362da93fdf255fd08b748e9a72b7179a719f4e0 /builtins/path.h | |
| parent | 6752c60f32d0e154e54f30fd2b3e22904e56ea64 (diff) | |
For parsing paths, use nested parens: (./foo), also add some methods
Diffstat (limited to 'builtins/path.h')
| -rw-r--r-- | builtins/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtins/path.h b/builtins/path.h index 9a37d92d..ea1e99ae 100644 --- a/builtins/path.h +++ b/builtins/path.h @@ -28,6 +28,8 @@ Text_t Path$read(Path_t path); void Path$remove(Path_t path, bool ignore_missing); void Path$create_directory(Path_t path, int permissions); Array_t Path$children(Path_t path, bool include_hidden); +Array_t Path$files(Path_t path, bool include_hidden); +Array_t Path$subdirectories(Path_t path, bool include_hidden); extern const TypeInfo Path$info; |
