From 3ab132d86f25d5ae1ff20adcb1a4a1de7c937408 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Jul 2023 11:06:53 -0400 Subject: Help: Document that if(EXISTS) requires paths to be readable Issue: #25125 --- Help/command/if.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Help/command/if.rst b/Help/command/if.rst index be855e1..c47c71b 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -170,9 +170,9 @@ File Operations .. signature:: if(EXISTS ) - True if the named file or directory exists. Behavior is well-defined - only for explicit full paths (a leading ``~/`` is not expanded as - a home directory and is considered a relative path). + True if the named file or directory exists and is readable. Behavior + is well-defined only for explicit full paths (a leading ``~/`` is not + expanded as a home directory and is considered a relative path). Resolves symbolic links, i.e. if the named file or directory is a symbolic link, returns true if the target of the symbolic link exists. -- cgit v0.12