Oihana PHP

TarOption uses ConstantsTrait

FileExtension

Enumeration class that defines various mode options to use in the findFiles function.

Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

DRY_RUN  = 'dryRun'
Return the files in the archive.
EXCLUDE  = 'exclude'
List of glob patterns or file names to exclude.
FILTER  = 'filter'
Filter the files or directories to archive with a function (string $filepath): bool
KEEP_PERMISSIONS  = 'keepPermissions'
Keep the permissions of the files/directories.
METADATA  = 'metadata'
Additional metadata to include in `.metadata.json`
OVERWRITE  = 'overwrite'
Overwrite the archive.

Constants

DRY_RUN

Return the files in the archive.

public mixed DRY_RUN = 'dryRun'

EXCLUDE

List of glob patterns or file names to exclude.

public mixed EXCLUDE = 'exclude'

FILTER

Filter the files or directories to archive with a function (string $filepath): bool

public mixed FILTER = 'filter'

KEEP_PERMISSIONS

Keep the permissions of the files/directories.

public mixed KEEP_PERMISSIONS = 'keepPermissions'

METADATA

Additional metadata to include in `.metadata.json`

public mixed METADATA = 'metadata'

OVERWRITE

Overwrite the archive.

public mixed OVERWRITE = 'overwrite'

        
On this page

Search results