fs(3lua): init man pages
Initialise man pages for the fs module.
This commit is contained in:
parent
2c6ad19111
commit
5cd636d6a7
17 changed files with 561 additions and 0 deletions
21
man/fs/fs.exists.3lua.scd
Normal file
21
man/fs/fs.exists.3lua.scd
Normal file
|
@ -0,0 +1,21 @@
|
|||
FS.EXISTS(3lua) "3lua" "Callisto manual pages"
|
||||
|
||||
# NAME
|
||||
*fs.exists* - check existence of a path in the file system
|
||||
|
||||
# SYNOPSIS
|
||||
*fs.exists*(_path_: *string*)
|
||||
|
||||
# DESCRIPTION
|
||||
*fs.exists* returns whether the pathname _path_ exists
|
||||
in the file system.
|
||||
|
||||
# EXAMPLES
|
||||
Check whether _tel_ exists:
|
||||
|
||||
if not fs.exists("tel") then
|
||||
print("tel does not exist")
|
||||
end
|
||||
|
||||
# SEE ALSO
|
||||
callisto(3lua), fs(3lua), fs.isfile(3lua)
|
Loading…
Add table
Add a link
Reference in a new issue