libfilezilla
Classes | Namespaces | Enumerations | Functions
local_filesys.hpp File Reference

Declares local_filesys class to enumerate local files and query their metadata such as type, size and modification time. More...

#include "fsresult.hpp"
#include "libfilezilla.hpp"
#include "time.hpp"
#include "glue/windows.hpp"
Include dependency graph for local_filesys.hpp:

Go to the source code of this file.

Classes

class  local_filesys
 This class can be used to enumerate the contents of local directories and to query the metadata of files. More...
 

Namespaces

 fz
 The namespace used by libfilezilla.
 

Enumerations

enum class  mkdir_permissions { normal , cur_user , cur_user_and_admins }
 

Functions

result mkdir (native_string const &absolute_path, bool recurse, mkdir_permissions permissions=mkdir_permissions::normal, native_string *last_created=nullptr)
 Creates directory if it doesn't yet exist. More...
 
result remove_dir (native_string const &absolute_path)
 Removes sempty directory. More...
 
result rename_file (native_string const &source, native_string const &dest, bool allow_copy=true)
 Rename/move the passed file or directory. More...
 

Detailed Description

Declares local_filesys class to enumerate local files and query their metadata such as type, size and modification time.