diff options
Diffstat (limited to 'man/man3/tomo-Path.can_write.3')
| -rw-r--r-- | man/man3/tomo-Path.can_write.3 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/man/man3/tomo-Path.can_write.3 b/man/man3/tomo-Path.can_write.3 index 51c4527b..d1be5006 100644 --- a/man/man3/tomo-Path.can_write.3 +++ b/man/man3/tomo-Path.can_write.3 @@ -2,7 +2,7 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Path.can_write 3 2025-05-17 "Tomo man-pages" +.TH Path.can_write 3 2025-09-21 "Tomo man-pages" .SH NAME Path.can_write \- check write permissions .SH LIBRARY @@ -29,10 +29,7 @@ path Path The path of the file to check. - .SH EXAMPLES .EX ->> (/tmp).can_write() -= yes ->> (/etc/passwd).can_write() -= no ->> (/non/existant/file).can_write() -= no +assert (/tmp).can_write() == yes +assert (/etc/passwd).can_write() == no +assert (/non/existant/file).can_write() == no .EE |
