Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::FileSystemCopyFlags Struct Reference

A structure to describe copy flags. More...

#include <FileSystemOperations.h>

Public Member Functions

FileSystemCopyFlagssetOverwrite (bool value)
 If true copy will overwrite existing files in the destination.
 
FileSystemCopyFlagssetUseCloneIfSupported (bool value)
 If true copy will use native filesystem clone os api.
 

Public Attributes

bool overwrite
 If true copy will overwrite existing files in the destination.
 
bool useCloneIfSupported
 If true copy will use native filesystem clone os api.
 

Detailed Description

A structure to describe copy flags.

Member Function Documentation

◆ setOverwrite()

FileSystemCopyFlags & SC::FileSystemCopyFlags::setOverwrite ( bool value)
inline

If true copy will overwrite existing files in the destination.

Parameters
valuetrue if to overwrite
Returns
itself

◆ setUseCloneIfSupported()

FileSystemCopyFlags & SC::FileSystemCopyFlags::setUseCloneIfSupported ( bool value)
inline

If true copy will use native filesystem clone os api.

Parameters
valuetrue if using clone is wanted
Returns
itself

Member Data Documentation

◆ overwrite

bool SC::FileSystemCopyFlags::overwrite

If true copy will overwrite existing files in the destination.

◆ useCloneIfSupported

bool SC::FileSystemCopyFlags::useCloneIfSupported

If true copy will use native filesystem clone os api.


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