Path manipulation
Pure string operations for working with file paths — no filesystem access required.fs::path::join
fs::path::join
fs::path::basename
fs::path::basename
fs::path::dirname
fs::path::dirname
fs::path::extension
fs::path::extension
fs::path::extensions
fs::path::extensions
fs::path::stem
fs::path::stem
fs::path::absolute
fs::path::absolute
fs::path::relative
fs::path::relative
fs::path::is_absolute
fs::path::is_absolute
fs::path::is_relative
fs::path::is_relative
File and directory checks
Functions to test file and directory properties.fs::exists
fs::exists
fs::is_file
fs::is_file
fs::is_dir
fs::is_dir
fs::is_symlink
fs::is_symlink
fs::is_readable
fs::is_readable
fs::is_writable
fs::is_writable
fs::is_executable
fs::is_executable
fs::is_empty
fs::is_empty
fs::is_same
fs::is_same
File information
Functions to retrieve file metadata and properties.fs::size
fs::size
fs::size::human
fs::size::human
fs::modified
fs::modified
fs::modified::human
fs::modified::human
fs::created
fs::created
fs::permissions
fs::permissions
fs::permissions::symbolic
fs::permissions::symbolic
fs::owner
fs::owner
fs::owner::group
fs::owner::group
fs::inode
fs::inode
fs::mime_type
fs::mime_type
fs::link_count
fs::link_count
fs::symlink::target
fs::symlink::target
fs::symlink::resolve
fs::symlink::resolve
File operations
Functions to create, copy, move, and delete files.fs::copy
fs::copy
fs::move
fs::move
fs::delete
fs::delete
fs::mkdir
fs::mkdir
fs::touch
fs::touch
fs::symlink
fs::symlink
fs::hardlink
fs::hardlink
fs::rename
fs::rename
fs::trash
fs::trash
Temporary files
Functions to create temporary files and directories.fs::temp::file
fs::temp::file
fs::temp::dir
fs::temp::dir
fs::temp::file::auto
fs::temp::file::auto
fs::temp::dir::auto
fs::temp::dir::auto
Reading and writing
Functions to read from and write to files.fs::read
fs::read
fs::write
fs::write
fs::writeln
fs::writeln
fs::append
fs::append
fs::appendln
fs::appendln
fs::line
fs::line
fs::lines
fs::lines
fs::line_count
fs::line_count
fs::word_count
fs::word_count
fs::char_count
fs::char_count
fs::contains
fs::contains
fs::matches
fs::matches
fs::replace
fs::replace
fs::prepend
fs::prepend
Directory operations
Functions to list and search directory contents.fs::ls
fs::ls
fs::ls::all
fs::ls::all
fs::ls::files
fs::ls::files
fs::ls::dirs
fs::ls::dirs
fs::find
fs::find
fs::find::type
fs::find::type
fs::find::recent
fs::find::recent
fs::find::larger_than
fs::find::larger_than
fs::find::smaller_than
fs::find::smaller_than
fs::dir::size
fs::dir::size
fs::dir::size::human
fs::dir::size::human
fs::dir::count
fs::dir::count
fs::dir::is_empty
fs::dir::is_empty
File watching
Functions to monitor files for changes.fs::watch
fs::watch
fs::watch::timeout
fs::watch::timeout
Checksums
Functions to compute file checksums and verify integrity.fs::checksum::md5
fs::checksum::md5
fs::checksum::sha1
fs::checksum::sha1
fs::checksum::sha256
fs::checksum::sha256
fs::is_identical
fs::is_identical