api / org.gradle.api.tasks / Sync / getPreserve

getPreserve

@Internal @Incubating open fun getPreserve(): PatternFilterable

Returns the filter that defines which files to preserve in the destination directory.

Return
the filter defining the files to preserve

See Also
#getDestinationDir()