Qore FsUtil Module Reference  1.2
All Classes Namespaces Functions Variables Modules Pages
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.2

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

Version 1.1

Version 1.0

  • initial version of module