Copies permissions (and optionally dates) from an input file to an output.

Synopsis

Declared in <llvm/Support/FileUtilities.h>

class FilePermissionsApplier;

Description

FilePermissionsApplier helps to copy permissions from an input file to an output one. It memorizes the status of the input file and can apply permissions and dates to the output file.

Member Functions

Name

Description

apply

Apply memorized permissions to an output file.

Static Member Functions

Name

Description

create

Create an applier that memorizes permissions from InputFilename.

Created with MrDocs