Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::FileSystem::CopyFlags Struct Reference

Specify copy options like overwriting existing files. More...

#include <FileSystem.h>

Public Member Functions

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

Friends

struct FileSystem
 

Detailed Description

Specify copy options like overwriting existing files.

Member Function Documentation

◆ setOverwrite()

CopyFlags & SC::FileSystem::CopyFlags::setOverwrite ( bool  value)
inline

If true copy will overwrite existing files in the destination.

Parameters
valuetrue if to overwrite
Returns
itself

◆ setUseCloneIfSupported()

CopyFlags & SC::FileSystem::CopyFlags::setUseCloneIfSupported ( bool  value)
inline

If true copy will use native filesystem clone os api.

Parameters
valuetrue if using clone is wanted
Returns
itself

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