[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TCopyFileFlags

Set type used to store TCopyFileFlag enumeration values.

Declaration

Source position: fileutil.pas line 198

type TCopyFileFlags = set of (

  cffOverwriteFile,

  

Overwrites the destination file if it already exists.

  cffCreateDestDirectory,

  

Create the directory for the destination fie if it does not already exist.

  cffPreserveTime

  

Preserves the timestamp for the source file in the destination file.

);

Description

TCopyFileFlags is a set type used to store 0 or more values from the TCopyFileFlag enumeration. TCopyFileFlags is passed as an argument to the CopyFile and CopyDirTree routines.

See also

TCopyFileFlag

  

Contains flags used to control actions performed in CopyFile or CopyDirTree.

CopyFile

  

Copies the source file to the destination file using the specified options.

CopyDirTree

  

Copies all file system entries in a source directory to the destination directory using the specified options.


Version 3.2 Generated 2024-02-25 Home