aboutsummaryrefslogtreecommitdiff
path: root/src/environment.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-15 18:13:44 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-15 18:14:09 -0500
commit290c72732f21f1cddb3a0f8ec3213e4ec321da14 (patch)
tree7c6c939a8d563edda5afddefcc2810d550ede0f3 /src/environment.c
parenta1884f7a85cbee5a67cf48c9e7b088fdea8b8b38 (diff)
Add Path.lines()
Diffstat (limited to 'src/environment.c')
-rw-r--r--src/environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/environment.c b/src/environment.c
index 96595ac7..8f49f86e 100644
--- a/src/environment.c
+++ b/src/environment.c
@@ -325,6 +325,7 @@ env_t *global_env(bool source_mapping) {
{"is_pipe", "Path$is_pipe", "func(path:Path, follow_symlinks=yes -> Bool)"}, //
{"is_socket", "Path$is_socket", "func(path:Path, follow_symlinks=yes -> Bool)"}, //
{"is_symlink", "Path$is_symlink", "func(path:Path -> Bool)"}, //
+ {"lines", "Path$lines", "func(path:Path -> [Text]?)"}, //
{"modified", "Path$modified", "func(path:Path, follow_symlinks=yes -> Int64?)"}, //
{"owner", "Path$owner", "func(path:Path, follow_symlinks=yes -> Text?)"}, //
{"parent", "Path$parent", "func(path:Path -> Path)"}, //