File Module (file)
- Check if a file or directory exists (file.exists)
- List files in a directory (file.list)
- Get file size (file.size)
- Read all data from a file (file.reads)
- Overwrite data to a file (file.writes)
- Append data to a file (file.appends)
- Count total lines in a text file (file.line_count)
- Get a specific line from a text file (file.get_line)
- Set a specific line in a text file (file.set_line)
- Insert content before a specific line (file.insert_line)
- Remove a specific line (file.remove_line)
- Get all lines from a text file (file.get_lines)
- Write a sequence (array) to file line by line (file.set_lines)
- Insert a sequence into file before a line (file.insert_lines)
- Get file MD5 (file.md5)
- Get file SHA1 (file.sha1)
- Remove file or directory (file.remove)
- Move file or directory (file.move)
- Copy file or directory (file.copy)
- Find file or directory (file.find)
- Change current working directory (file.chdir)
- Get current working directory (file.currentdir)
- Get file attributes (file.attrs)
- Get symlink attributes (file.lattrs)
- Create a hard link (file.link)
- Recursively create directories (file.mkdir_p)
- Update access and modification time (file.touch)