copy_options

copy_options (복사 옵션)

std::filesystem::copy_optionscopy()copy_file() 함수의 동작을 제어하는 옵션 타입이에요.

출처: cppreference

본문

copy_options는 복사 동작을 정하는 비트마스크 타입이에요.

enum class copy_options {
    none = /* unspecified */,
    skip_existing = /* unspecified */,
    overwrite_existing = /* unspecified */,
    update_existing = /* unspecified */,
    recursive = /* unspecified */,
    copy_symlinks = /* unspecified */,
    ...
};

대상이 이미 있을 때 덮어쓸지, 재귀적으로 복사할지, 심볼릭 링크를 어떻게 다룰지 등을 정할 수 있어요.

더 알아보기 (Learn more)

cppreference