diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-22 16:32:40 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-22 16:32:40 -0500 |
| commit | 83e6cc9197bd8e7a19834d291fe4c5e62639db38 (patch) | |
| tree | e1fad62f8e579427470e40ead166ea0e90745665 /src/stdlib/paths.h | |
| parent | 0ee53cd5a79d41b124413d5da3e4279d06b17bfc (diff) | |
Add Path.writer() and Path.byte_writer()
Diffstat (limited to 'src/stdlib/paths.h')
| -rw-r--r-- | src/stdlib/paths.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/paths.h b/src/stdlib/paths.h index 881a3c78..c272314c 100644 --- a/src/stdlib/paths.h +++ b/src/stdlib/paths.h @@ -39,6 +39,8 @@ Result_t Path$write(Path_t path, Text_t text, int permissions); Result_t Path$write_bytes(Path_t path, List_t bytes, int permissions); Result_t Path$append(Path_t path, Text_t text, int permissions); Result_t Path$append_bytes(Path_t path, List_t bytes, int permissions); +Closure_t Path$byte_writer(Path_t path, bool append, int permissions); +Closure_t Path$writer(Path_t path, bool append, int permissions); OptionalText_t Path$read(Path_t path); OptionalList_t Path$read_bytes(Path_t path, OptionalInt_t limit); Result_t Path$set_owner(Path_t path, OptionalText_t owner, OptionalText_t group, bool follow_symlinks); |
