uvw 2.12.1
Loading...
Searching...
No Matches
uvw::FsReq Class Referencefinal

The FsReq request. More...

#include <fs.h>

Inheritance diagram for uvw::FsReq:
Collaboration diagram for uvw::FsReq:

Public Member Functions

void unlink (const std::string &path)
 Async unlink.
 
bool unlinkSync (const std::string &path)
 Sync unlink.
 
void mkdir (const std::string &path, int mode)
 Async mkdir.
 
bool mkdirSync (const std::string &path, int mode)
 Sync mkdir.
 
void mkdtemp (const std::string &tpl)
 Async mktemp.
 
std::pair< bool, const char * > mkdtempSync (const std::string &tpl)
 Sync mktemp.
 
void mkstemp (const std::string &tpl)
 Async mkstemp.
 
std::pair< bool, std::pair< std::string, std::size_t > > mkstempSync (const std::string &tpl)
 Sync mkstemp.
 
void lutime (const std::string &path, Time atime, Time mtime)
 Async lutime.
 
bool lutimeSync (const std::string &path, Time atime, Time mtime)
 Sync lutime.
 
void rmdir (const std::string &path)
 Async rmdir.
 
bool rmdirSync (const std::string &path)
 Sync rmdir.
 
void scandir (const std::string &path, int flags)
 Async scandir.
 
std::pair< bool, std::size_t > scandirSync (const std::string &path, int flags)
 Sync scandir.
 
std::pair< bool, std::pair< EntryType, const char * > > scandirNext ()
 Gets entries populated with the next directory entry data.
 
void stat (const std::string &path)
 Async stat.
 
std::pair< bool, StatstatSync (const std::string &path)
 Sync stat.
 
void lstat (const std::string &path)
 Async lstat.
 
std::pair< bool, StatlstatSync (const std::string &path)
 Sync lstat.
 
void statfs (const std::string &path)
 Async statfs.
 
std::pair< bool, StatfsstatfsSync (const std::string &path)
 Sync statfs.
 
void rename (const std::string &old, const std::string &path)
 Async rename.
 
bool renameSync (const std::string &old, const std::string &path)
 Sync rename.
 
void copyfile (const std::string &old, const std::string &path, Flags< CopyFile > flags=Flags< CopyFile >{})
 Copies a file asynchronously from a path to a new one.
 
bool copyfileSync (const std::string &old, const std::string &path, Flags< CopyFile > flags=Flags< CopyFile >{})
 Copies a file synchronously from a path to a new one.
 
void access (const std::string &path, int mode)
 Async access.
 
bool accessSync (const std::string &path, int mode)
 Sync access.
 
void chmod (const std::string &path, int mode)
 Async chmod.
 
bool chmodSync (const std::string &path, int mode)
 Sync chmod.
 
void utime (const std::string &path, Time atime, Time mtime)
 Async utime.
 
bool utimeSync (const std::string &path, Time atime, Time mtime)
 Sync utime.
 
void link (const std::string &old, const std::string &path)
 Async link.
 
bool linkSync (const std::string &old, const std::string &path)
 Sync link.
 
void symlink (const std::string &old, const std::string &path, Flags< SymLink > flags=Flags< SymLink >{})
 Async symlink.
 
bool symlinkSync (const std::string &old, const std::string &path, Flags< SymLink > flags=Flags< SymLink >{})
 Sync symlink.
 
void readlink (const std::string &path)
 Async readlink.
 
std::pair< bool, std::pair< const char *, std::size_t > > readlinkSync (const std::string &path)
 Sync readlink.
 
void realpath (const std::string &path)
 Async realpath.
 
std::pair< bool, const char * > realpathSync (const std::string &path)
 Sync realpath.
 
void chown (const std::string &path, Uid uid, Gid gid)
 Async chown.
 
bool chownSync (const std::string &path, Uid uid, Gid gid)
 Sync chown.
 
void lchown (const std::string &path, Uid uid, Gid gid)
 Async lchown.
 
bool lchownSync (const std::string &path, Uid uid, Gid gid)
 Sync lchown.
 
void opendir (const std::string &path)
 Opens a path asynchronously as a directory stream.
 
bool opendirSync (const std::string &path)
 Opens a path synchronously as a directory stream.
 
void closedir ()
 Closes asynchronously a directory stream.
 
bool closedirSync ()
 Closes synchronously a directory stream.
 
void readdir ()
 Iterates asynchronously over a directory stream one entry at a time.
 
std::pair< bool, std::pair< EntryType, const char * > > readdirSync ()
 Iterates synchronously over a directory stream one entry at a time.
 
- Public Member Functions inherited from uvw::Request< FsReq, uv_fs_t >
bool cancel ()
 Cancels a pending request.
 
std::size_t size () const noexcept
 Returns the size of the underlying request type.
 
- Public Member Functions inherited from uvw::Resource< FsReq, uv_fs_t >
std::shared_ptr< R > data () const
 Gets user-defined data. uvw won't use this field in any case.
 
void data (std::shared_ptr< void > uData)
 Sets arbitrary data. uvw won't use this field in any case.
 
- Public Member Functions inherited from uvw::UnderlyingType< FsReq, uv_fs_t >
Looploop () const noexcept
 Gets the loop from which the resource was originated.
 
const uv_fs_t * raw () const noexcept
 Gets the underlying raw data structure.
 
uv_fs_t * raw () noexcept
 Gets the underlying raw data structure.
 
- Public Member Functions inherited from uvw::Emitter< FsReq >
Connection< E > on (Listener< E > f)
 Registers a long-lived listener with the event emitter.
 
Connection< E > once (Listener< E > f)
 Registers a short-lived listener with the event emitter.
 
void erase (Connection< E > conn) noexcept
 Disconnects a listener from the event emitter.
 
void clear () noexcept
 Disconnects all the listeners for the given event type.
 
void clear () noexcept
 Disconnects all the listeners.
 
bool empty () const noexcept
 Checks if there are listeners registered for the specific event.
 
bool empty () const noexcept
 Checks if there are listeners registered with the event emitter.
 

Additional Inherited Members

- Public Types inherited from uvw::FsRequest< FsReq >
- Public Types inherited from uvw::Emitter< FsReq >
- Static Public Member Functions inherited from uvw::UnderlyingType< FsReq, uv_fs_t >
static std::shared_ptr< FsReqcreate (Args &&...args)
 Creates a new resource of the given type.
 
- Protected Types inherited from uvw::Resource< FsReq, uv_fs_t >
- Protected Member Functions inherited from uvw::FsRequest< FsReq >
- Protected Member Functions inherited from uvw::Request< FsReq, uv_fs_t >
- Protected Member Functions inherited from uvw::Resource< FsReq, uv_fs_t >
- Protected Member Functions inherited from uvw::UnderlyingType< FsReq, uv_fs_t >
- Protected Member Functions inherited from uvw::Emitter< FsReq >
- Static Protected Member Functions inherited from uvw::FsRequest< FsReq >
- Static Protected Member Functions inherited from uvw::Request< FsReq, uv_fs_t >

Detailed Description

The FsReq request.

Cross-platform sync and async filesystem operations.
All file operations are run on the threadpool.

To create a FsReq through a Loop, no arguments are required.

See the official documentation for further details.

Definition at line 761 of file fs.h.

Member Function Documentation

◆ access()

void uvw::FsReq::access ( const std::string & path,
int mode )

Async access.

Emit a FsEvent<FsReq::Type::ACCESS> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.

◆ accessSync()

bool uvw::FsReq::accessSync ( const std::string & path,
int mode )

Sync access.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ chmod()

void uvw::FsReq::chmod ( const std::string & path,
int mode )

Async chmod.

Emit a FsEvent<FsReq::Type::CHMOD> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.

◆ chmodSync()

bool uvw::FsReq::chmodSync ( const std::string & path,
int mode )

Sync chmod.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ chown()

void uvw::FsReq::chown ( const std::string & path,
Uid uid,
Gid gid )

Async chown.

Emit a FsEvent<FsReq::Type::CHOWN> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
uidUID, as described in the official documentation.
gidGID, as described in the official documentation.

◆ chownSync()

bool uvw::FsReq::chownSync ( const std::string & path,
Uid uid,
Gid gid )

Sync chown.

Parameters
pathPath, as described in the official documentation.
uidUID, as described in the official documentation.
gidGID, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ closedir()

void uvw::FsReq::closedir ( )

Closes asynchronously a directory stream.

Emit a FsEvent<FsReq::Type::CLOSEDIR> event when completed.
Emit an ErrorEvent event in case of errors.

It frees also the memory allocated internally when a path has been opened as a directory stream.

◆ closedirSync()

bool uvw::FsReq::closedirSync ( )

Closes synchronously a directory stream.

It frees also the memory allocated internally when a path has been opened as a directory stream.

Returns
True in case of success, false otherwise.

◆ copyfile()

void uvw::FsReq::copyfile ( const std::string & old,
const std::string & path,
Flags< CopyFile > flags = Flags< CopyFile >{} )

Copies a file asynchronously from a path to a new one.

Emit a FsEvent<FsReq::Type::UV_FS_COPYFILE> event when completed.
Emit an ErrorEvent event in case of errors.

Available flags are:

  • FsReq::CopyFile::EXCL: it fails if the destination path already exists (the default behavior is to overwrite the destination if it exists).
  • FsReq::CopyFile::FICLONE: If present, it will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
  • FsReq::CopyFile::FICLONE_FORCE: If present, it will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then an error is returned.
Warning
If the destination path is created, but an error occurs while copying the data, then the destination path is removed. There is a brief window of time between closing and removing the file where another process could access the file.
Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
flagsOptional additional flags.

◆ copyfileSync()

bool uvw::FsReq::copyfileSync ( const std::string & old,
const std::string & path,
Flags< CopyFile > flags = Flags< CopyFile >{} )

Copies a file synchronously from a path to a new one.

Available flags are:

  • FsReq::CopyFile::EXCL: it fails if the destination path already exists (the default behavior is to overwrite the destination if it exists).

If the destination path is created, but an error occurs while copying the data, then the destination path is removed. There is a brief window of time between closing and removing the file where another process could access the file.

Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
flagsOptional additional flags.
Returns
True in case of success, false otherwise.

◆ lchown()

void uvw::FsReq::lchown ( const std::string & path,
Uid uid,
Gid gid )

Async lchown.

Emit a FsEvent<FsReq::Type::LCHOWN> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
uidUID, as described in the official documentation.
gidGID, as described in the official documentation.

◆ lchownSync()

bool uvw::FsReq::lchownSync ( const std::string & path,
Uid uid,
Gid gid )

Sync lchown.

Parameters
pathPath, as described in the official documentation.
uidUID, as described in the official documentation.
gidGID, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ link()

void uvw::FsReq::link ( const std::string & old,
const std::string & path )

Async link.

Emit a FsEvent<FsReq::Type::LINK> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.

◆ linkSync()

bool uvw::FsReq::linkSync ( const std::string & old,
const std::string & path )

Sync link.

Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ lstat()

void uvw::FsReq::lstat ( const std::string & path)

Async lstat.

Emit a FsEvent<FsReq::Type::LSTAT> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ lstatSync()

std::pair< bool, Stat > uvw::FsReq::lstatSync ( const std::string & path)

Sync lstat.

Parameters
pathPath, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • An initialized instance of Stat.

◆ lutime()

void uvw::FsReq::lutime ( const std::string & path,
Time atime,
Time mtime )

Async lutime.

Emit a FsEvent<FsReq::Type::UTIME> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
atimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
mtimestd::chrono::duration<double>, having the same meaning as described in the official documentation.

◆ lutimeSync()

bool uvw::FsReq::lutimeSync ( const std::string & path,
Time atime,
Time mtime )

Sync lutime.

Parameters
pathPath, as described in the official documentation.
atimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
mtimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ mkdir()

void uvw::FsReq::mkdir ( const std::string & path,
int mode )

Async mkdir.

Emit a FsEvent<FsReq::Type::MKDIR> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.

◆ mkdirSync()

bool uvw::FsReq::mkdirSync ( const std::string & path,
int mode )

Sync mkdir.

Parameters
pathPath, as described in the official documentation.
modeMode, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ mkdtemp()

void uvw::FsReq::mkdtemp ( const std::string & tpl)

Async mktemp.

Emit a FsEvent<FsReq::Type::MKDTEMP> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
tplTemplate, as described in the official documentation.

◆ mkdtempSync()

std::pair< bool, const char * > uvw::FsReq::mkdtempSync ( const std::string & tpl)

Sync mktemp.

Parameters
tplTemplate, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • The actual path of the newly created directory.

◆ mkstemp()

void uvw::FsReq::mkstemp ( const std::string & tpl)

Async mkstemp.

Emit a FsEvent<FsReq::Type::MKSTEMP> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
tplTemplate, as described in the official documentation.

◆ mkstempSync()

std::pair< bool, std::pair< std::string, std::size_t > > uvw::FsReq::mkstempSync ( const std::string & tpl)

Sync mkstemp.

Returns a composed value where:

  • The first parameter indicates the created file path.
  • The second parameter is the file descriptor as an integer.

See the official documentation for further details.

Parameters
tplTemplate, as described in the official documentation.
Returns
A pair where:
  • The first parameter is a boolean value that is true in case of success, false otherwise.
  • The second parameter is a composed value (see above).

◆ opendir()

void uvw::FsReq::opendir ( const std::string & path)

Opens a path asynchronously as a directory stream.

Emit a FsEvent<FsReq::Type::OPENDIR> event when completed.
Emit an ErrorEvent event in case of errors.

The contents of the directory can be iterated over by means of the readdir od readdirSync member functions. The memory allocated by this function must be freed by calling closedir or closedirSync.

Parameters
pathThe path to open as a directory stream.

◆ opendirSync()

bool uvw::FsReq::opendirSync ( const std::string & path)

Opens a path synchronously as a directory stream.

The contents of the directory can be iterated over by means of the readdir od readdirSync member functions. The memory allocated by this function must be freed by calling closedir or closedirSync.

Parameters
pathThe path to open as a directory stream.
Returns
True in case of success, false otherwise.

◆ readdir()

void uvw::FsReq::readdir ( )

Iterates asynchronously over a directory stream one entry at a time.

Emit a FsEvent<FsReq::Type::READDIR> event when completed.
Emit an ErrorEvent event in case of errors.

This function isn't thread safe. Moreover, it doesn't return the . and .. entries.

◆ readdirSync()

std::pair< bool, std::pair< EntryType, const char * > > uvw::FsReq::readdirSync ( )

Iterates synchronously over a directory stream one entry at a time.

Returns a composed value where:

  • The first parameter indicates the entry type (see below).
  • The second parameter is a string that contains the actual value.

Available entry types are:

  • FsReq::EntryType::UNKNOWN
  • FsReq::EntryType::FILE
  • FsReq::EntryType::DIR
  • FsReq::EntryType::LINK
  • FsReq::EntryType::FIFO
  • FsReq::EntryType::SOCKET
  • FsReq::EntryType::CHAR
  • FsReq::EntryType::BLOCK

See the official documentation for further details.

This function isn't thread safe. Moreover, it doesn't return the . and .. entries.

Returns
A pair where:
  • The first parameter is a boolean value that indicates if the current entry is still valid.
  • The second parameter is a composed value (see above).

◆ readlink()

void uvw::FsReq::readlink ( const std::string & path)

Async readlink.

Emit a FsEvent<FsReq::Type::READLINK> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ readlinkSync()

std::pair< bool, std::pair< const char *, std::size_t > > uvw::FsReq::readlinkSync ( const std::string & path)

Sync readlink.

Parameters
pathPath, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • A std::pair composed as it follows:
    • A bunch of data read from the given path.
    • The amount of data read from the given path.

◆ realpath()

void uvw::FsReq::realpath ( const std::string & path)

Async realpath.

Emit a FsEvent<FsReq::Type::REALPATH> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ realpathSync()

std::pair< bool, const char * > uvw::FsReq::realpathSync ( const std::string & path)

Sync realpath.

Parameters
pathPath, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • The canonicalized absolute pathname.

◆ rename()

void uvw::FsReq::rename ( const std::string & old,
const std::string & path )

Async rename.

Emit a FsEvent<FsReq::Type::RENAME> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.

◆ renameSync()

bool uvw::FsReq::renameSync ( const std::string & old,
const std::string & path )

Sync rename.

Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ rmdir()

void uvw::FsReq::rmdir ( const std::string & path)

Async rmdir.

Emit a FsEvent<FsReq::Type::RMDIR> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ rmdirSync()

bool uvw::FsReq::rmdirSync ( const std::string & path)

Sync rmdir.

Parameters
pathPath, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ scandir()

void uvw::FsReq::scandir ( const std::string & path,
int flags )

Async scandir.

Emit a FsEvent<FsReq::Type::SCANDIR> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
flagsFlags, as described in the official documentation.

◆ scandirNext()

std::pair< bool, std::pair< EntryType, const char * > > uvw::FsReq::scandirNext ( )

Gets entries populated with the next directory entry data.

Returns a composed value where:

  • The first parameter indicates the entry type (see below).
  • The second parameter is a string that contains the actual value.

Available entry types are:

  • FsReq::EntryType::UNKNOWN
  • FsReq::EntryType::FILE
  • FsReq::EntryType::DIR
  • FsReq::EntryType::LINK
  • FsReq::EntryType::FIFO
  • FsReq::EntryType::SOCKET
  • FsReq::EntryType::CHAR
  • FsReq::EntryType::BLOCK

See the official documentation for further details.

Returns
A pair where:
  • The first parameter is a boolean value that indicates if the current entry is still valid.
  • The second parameter is a composed value (see above).

◆ scandirSync()

std::pair< bool, std::size_t > uvw::FsReq::scandirSync ( const std::string & path,
int flags )

Sync scandir.

Parameters
pathPath, as described in the official documentation.
flagsFlags, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • The number of directory entries selected.

◆ stat()

void uvw::FsReq::stat ( const std::string & path)

Async stat.

Emit a FsEvent<FsReq::Type::STAT> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ statfs()

void uvw::FsReq::statfs ( const std::string & path)

Async statfs.

Emit a FsEvent<FsReq::Type::STATFS> event when completed.
Emit an ErrorEvent event in case of errors.

Any fields in the resulting object that are not supported by the underlying operating system are set to zero.

Parameters
pathPath, as described in the official documentation.

◆ statfsSync()

std::pair< bool, Statfs > uvw::FsReq::statfsSync ( const std::string & path)

Sync statfs.

Any fields in the resulting object that are not supported by the underlying operating system are set to zero.

Parameters
pathPath, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • An initialized instance of Statfs.

◆ statSync()

std::pair< bool, Stat > uvw::FsReq::statSync ( const std::string & path)

Sync stat.

Parameters
pathPath, as described in the official documentation.
Returns
A std::pair composed as it follows:
  • A boolean value that is true in case of success, false otherwise.
  • An initialized instance of Stat.

◆ symlink()

void uvw::FsReq::symlink ( const std::string & old,
const std::string & path,
Flags< SymLink > flags = Flags< SymLink >{} )

Async symlink.

Emit a FsEvent<FsReq::Type::SYMLINK> event when completed.
Emit an ErrorEvent event in case of errors.

Available flags are:

  • FsReq::SymLink::DIR: it indicates that the old path points to a directory.
  • FsReq::SymLink::JUNCTION: it requests that the symlink is created using junction points.
Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
flagsOptional additional flags.

◆ symlinkSync()

bool uvw::FsReq::symlinkSync ( const std::string & old,
const std::string & path,
Flags< SymLink > flags = Flags< SymLink >{} )

Sync symlink.

Available flags are:

  • FsReq::SymLink::DIR: it indicates that the old path points to a directory.
  • FsReq::SymLink::JUNCTION: it requests that the symlink is created using junction points.
Parameters
oldOld path, as described in the official documentation.
pathNew path, as described in the official documentation.
flagsFlags, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ unlink()

void uvw::FsReq::unlink ( const std::string & path)

Async unlink.

Emit a FsEvent<FsReq::Type::UNLINK> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.

◆ unlinkSync()

bool uvw::FsReq::unlinkSync ( const std::string & path)

Sync unlink.

Parameters
pathPath, as described in the official documentation.
Returns
True in case of success, false otherwise.

◆ utime()

void uvw::FsReq::utime ( const std::string & path,
Time atime,
Time mtime )

Async utime.

Emit a FsEvent<FsReq::Type::UTIME> event when completed.
Emit an ErrorEvent event in case of errors.

Parameters
pathPath, as described in the official documentation.
atimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
mtimestd::chrono::duration<double>, having the same meaning as described in the official documentation.

◆ utimeSync()

bool uvw::FsReq::utimeSync ( const std::string & path,
Time atime,
Time mtime )

Sync utime.

Parameters
pathPath, as described in the official documentation.
atimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
mtimestd::chrono::duration<double>, having the same meaning as described in the official documentation.
Returns
True in case of success, false otherwise.

The documentation for this class was generated from the following file: