aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Path.can_read.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Path.can_read.3')
-rw-r--r--man/man3/tomo-Path.can_read.312
1 files changed, 7 insertions, 5 deletions
diff --git a/man/man3/tomo-Path.can_read.3 b/man/man3/tomo-Path.can_read.3
index 785d3d54..b3c19a89 100644
--- a/man/man3/tomo-Path.can_read.3
+++ b/man/man3/tomo-Path.can_read.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Path.can_read 3 2025-11-09 "Tomo man-pages"
+.TH Path.can_read 3 2025-11-29 "Tomo man-pages"
.SH NAME
Path.can_read \- check read permissions
.SH LIBRARY
@@ -19,10 +19,10 @@ Returns whether or not a file can be read by the current user/group.
.TS
allbox;
-lb lb lbx lb
-l l l l.
-Name Type Description Default
-path Path The path of the file to check. -
+lb lb lbx
+l l l.
+Name Type Description
+path Path The path of the file to check.
.TE
.SH RETURN
`yes` if the file or directory exists and the current user has read permissions, otherwise `no`.
@@ -33,3 +33,5 @@ assert (/usr/include/stdlib.h).can_read() == yes
assert (/etc/shadow).can_read() == no
assert (/non/existant/file).can_read() == no
.EE
+.SH SEE ALSO
+.BR Tomo-Path (3)