ilesystem/canonical "cpp/filesystem/canonical")  
[ filesystem::relative  filesystem::proximate  ](/w/cpp/filesystem/relative
"cpp/filesystem/relative")  
[ filesystem::copy  ](/w/cpp/filesystem/copy "cpp/filesystem/copy")  
[ filesystem::copy_file  ](/w/cpp/filesystem/copy_file "cpp/filesystem/copy
file")  
[ filesystem::copy_symlink  ](/w/cpp/filesystem/copy_symlink
"cpp/filesystem/copy symlink")  
[ filesystem::create_directory  
filesystem::create_directories  ](/w/cpp/filesystem/create_directory
"cpp/filesystem/create directory")  
[ filesystem::create_hard_link  ](/w/cpp/filesystem/create_hard_link
"cpp/filesystem/create hard link")  
[ filesystem::create_symlink  
filesystem::create_directory_symlink  ](/w/cpp/filesystem/create_symlink
"cpp/filesystem/create symlink")  
[ filesystem::current_path  ](/w/cpp/filesystem/current_path
"cpp/filesystem/current path")  
  
|  [ filesystem::exists  ](/w/cpp/filesystem/exists "cpp/filesystem/exists")  
---  
[ filesystem::equivalent  ](/w/cpp/filesystem/equivalent
"cpp/filesystem/equivalent")  
[ filesystem::file_size  ](/w/cpp/filesystem/file_size "cpp/filesystem/file
size")  
[ filesystem::hard_link_count  ](/w/cpp/filesystem/hard_link_count
"cpp/filesystem/hard link count")  
[ filesystem::last_write_time  ](/w/cpp/filesystem/last_write_time
"cpp/filesystem/last write time")  
[ filesystem::permissions  ](/w/cpp/filesystem/permissions
"cpp/filesystem/permissions")  
[ filesystem::read_symlink  ](/w/cpp/filesystem/read_symlink
"cpp/filesystem/read symlink")  
[ filesystem::remove  
filesystem::remove_all  ](/w/cpp/filesystem/remove "cpp/filesystem/remove")  
[ filesystem::rename  ](/w/cpp/filesystem/rename "cpp/filesystem/rename")  
[ filesystem::resize_file  ](/w/cpp/filesystem/resize_file
"cpp/filesystem/resize file")  
[ filesystem::space  ](/w/cpp/filesystem/space "cpp/filesystem/space")  
[ filesystem::status  
filesystem::symlink_status  ](/w/cpp/filesystem/status
"cpp/filesystem/status")  
[ filesystem::temp_directory_path  ](/w/cpp/filesystem/temp_directory_path
"cpp/filesystem/temp directory path")  
  
File types  
|  [ filesystem::is_block_file  ](/w/cpp/filesystem/is_block_file
"cpp/filesystem/is block file")  
---  
[ filesystem::is_character_file  ](/w/cpp/filesystem/is_character_file
"cpp/filesystem/is character file")  
[ filesystem::is_directory  ](/w/cpp/filesystem/is_directory
"cpp/filesystem/is directory")  
[ filesystem::is_empty  ](/w/cpp/filesystem/is_empty "cpp/filesystem/is
empty")  
[ filesystem::status_known  ](/w/cpp/filesystem/status_known
"cpp/filesystem/status known")  
  
|  [ filesystem::is_fifo  ](/w/cpp/filesystem/is_fifo "cpp/filesystem/is
fifo")  
---  
[ filesystem::is_other  ](/w/cpp/filesystem/is_other "cpp/filesystem/is
other")  
[ filesystem::is_regular_file  ](/w/cpp/filesystem/is_regular_file
"cpp/filesystem/is regular file")  
[ filesystem::is_socket  ](/w/cpp/filesystem/is_socket "cpp/filesystem/is
socket")  
[ filesystem::is_symlink  ](/w/cpp/filesystem/is_symlink "cpp/filesystem/is
symlink")  
  
[ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/filesystem/navbar_content&action=edit)

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

The filesystem library was originally developed as [ boost.filesystem
](https://www.boost.org/doc/libs/release/libs/filesystem/doc/index.htm) , was
published as [ the technical specification ISO/IEC TS 18822:2015
](/w/cpp/experimental/fs "cpp/experimental/fs") , and finally merged to ISO
C++ as of C++17. The boost implementation is currently available on more
compilers and platforms than the C++17 library.

The filesystem library facilities may be unavailable if a hierarchical file
system is not accessible to the implementation, or if it does not provide the
necessary capabilities. Some features may not be available if they are not
supported by the underlying file system (e.