aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-09 01:48:37 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-09 01:48:37 -0400
commit6752c60f32d0e154e54f30fd2b3e22904e56ea64 (patch)
tree4fe3f3cf1f092ece6c07af66a91307b110fa28f7 /environment.c
parent11c560ebccfa3eabb939dafc4139be92edd26842 (diff)
More methods
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 03d713f3..d7a1ea1a 100644
--- a/environment.c
+++ b/environment.c
@@ -250,6 +250,7 @@ env_t *new_compilation_unit(CORD *libname)
)},
{"Path", Type(TextType, .lang="Path", .env=namespace_env(env, "Path")), "Text_t", "Text$info", TypedArray(ns_entry_t,
{"append", "Path$append", "func(path:Path, text:Text, permissions=0o644_i32)"},
+ {"children", "Path$children", "func(path:Path, include_hidden=no)->[Path]"},
{"create_directory", "Path$create_directory", "func(path:Path, permissions=0o644_i32)"},
{"escape_text", "Path$escape_text", "func(text:Text)->Path"},
{"exists", "Path$exists", "func(path:Path)->Bool"},