Filesystem library

From cppreference.com

The Filesystem library provides facilities for performing operations on file systems and their components, such a paths, regular files, and directories.

The Filesystem library currently is described not in the C++ standard, but in separate Technical Specification. It is implementation-defined whether the Filesystem library is provided.

Some functionality may not be provided by the implementation if the underlying file system does not support it.

The behavior of the implementation may be different than described here in the presence of file-system races.


Template:cpp/experimental/fs/dsc last write timeTemplate:cpp/experimental/fs/dsc read symlinkTemplate:cpp/experimental/fs/dsc removeTemplate:cpp/experimental/fs/dsc renameTemplate:cpp/experimental/fs/dsc resize fileTemplate:cpp/experimental/fs/dsc spaceTemplate:cpp/experimental/fs/dsc statusTemplate:cpp/experimental/fs/dsc system complete
represents a path
(class)
an exception thrown on file system errors
(class)
a directory entry
(class)
an iterator to the contents of the directory
(class)
an iterator to the contents of a directory and its subdirectories
(class)
the type of a file
(enum)
identifies file system permissions
(enum)
represents file type and permissions
(class)
information about free and available space on the filesystem
(class)
specifies semantics of copy operations
(enum)
options for iterating directory contents
(enum)
represents file time values
(typedef)
composes an absolute path
(function)
composes a canonical path
(function)
copies files or directories
(function)
copies file contents
(function)
copies a symbolic link
(function)
creates new directory
(function)
creates a hard link
(function)
creates a symbolic link
(function)
return current working directory
(function)
checks whether path refers to existing file system object
(function)
checks whether two paths refer to the same file system object
(function)
returns the size of a file
(function)
returns the number of hard links referring to the specific file
(function)
File types
checks whether the given path refers to block file
(function)
checks whether the given path refers to a character file
(function)
checks whether the given path refers to a directory
(function)
checks whether the given path refers to an empty file or directory
(function)
checks whether the given path refers to a FIFO
(function)
checks whether the argument refers to an other file
(function)
checks whether the argument refers to a regular file
(function)
checks whether the argument refers to a socket
(function)
checks whether the argument refers to a symbolic link
(function)
returns a directory suitable for temporary files
(function)