fsΒΆ
File system management. This package extends basic os package file capabilities
Functions:
| 
 | fs.absolute | (
 | 
Tells if the given path is absolute or relative | 
| 
 | fs.access | (
 | 
test a file for read, write or both access | 
| 
 | fs.copy | (
 | 
Copy a file or directory into a destination directory | 
| 
 | fs.delete | (
 | 
Delete a file or directory, directory must be empty to be deleted | 
| 
 | fs.dir | (
 | 
Iterates over the given directory | 
| 
 | fs.expand | (
 | 
expand a path using environment variables and normalizes the slashes for the current operating system. | 
| 
 | fs.lseq | (
 | 
List the files in given path and look for sequences of files | 
| 
 | fs.mkdir | (
 | 
create a new directory | 
| 
 | fs.mkdirtree | (
 | 
create a new directory with all needed parents | 
| 
 | fs.remove | (
 | 
Remove a file or an empty directory | 
| 
 | fs.rename | (
 | 
Rename a file or directory, new name must not exist | 
| 
 | fs.rmdir | (
 | 
delete a directory even if non empty | 
| 
 | fs.splitpath | (
 | 
Split the file into directory, basename, extension and optionally frame number | 
| 
 | fs.stat | (
 | 
get file stat |