Loading...
Searching...
No Matches
FsUtil Module

# Introduction to the FsUtil Module

The FsUtil module provides functionality for file system operations.

To use this module, use `"%requires FsUtil"` in your code.

All the public symbols in the module are defined in the FsUtil namespace

Currently the module provides the following multiplatform functions: FsUtil::basename_ext() FsUtil::copy_file() FsUtil::copy_file_obj() FsUtil::copy_path() FsUtil::copy_tree() FsUtil::join_paths() FsUtil::make_tmp_dir() FsUtil::make_tmp_file() FsUtil::path_exists() FsUtil::remove_file() FsUtil::remove_path() FsUtil::remove_tree() FsUtil::same_file() FsUtil::same_file_stat()

And the following multiplatform classes: FsUtil::TmpDir FsUtil::TmpFile

Also classes for platform specific operations are available: FsUtil::PosixPathHandler FsUtil::WinPathHandler

# Release Notes

## Version 1.3

- added move_path()
- fixed inconsistencies handling target directories in copy operations (issue 4559)

## Version 1.2

- fixed join_paths() to handle an arbitrary number of paths as arguments (the most common use case) (issue 4495)

## Version 1.1

- added Dir as a parent class of TmpDir (issue 3945)

## Version 1.0

- initial version of module