From 1fbe2cb5dd1aa4b20411ee0c3b00310677373a55 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 9 Sep 2024 02:02:08 -0400 Subject: For parsing paths, use nested parens: (./foo), also add some methods --- builtins/path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'builtins/path.h') 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; -- cgit v1.2.3