File System Operations
Operations on the file system.
An instance of this type can be injected into a task, plugin or other object by annotating a public constructor or property getter method with javax.inject.Inject
.
Since
6.0
Functions
Link copied to clipboard
Copies the specified files.
Link copied to clipboard
Creates a CopySpec which can later be used to copy files or create an archive.
Link copied to clipboard
Deletes the specified files.
Link copied to clipboard
abstract fun directoryPermissions(configureAction: Action<in ConfigurableFilePermissions>): ConfigurableFilePermissions
Creates and configures directory access permissions.
Link copied to clipboard
abstract fun filePermissions(configureAction: Action<in ConfigurableFilePermissions>): ConfigurableFilePermissions
Creates and configures file access permissions.
Link copied to clipboard
Creates file/directory access permissions and initializes them via a Unix style numeric permissions.
Creates file/directory access permissions and initializes them via a Unix style permission string.
Provider based version of permissions, to facilitate wiring into property chains.
Link copied to clipboard
Synchronizes the contents of a destination directory with some source directories and files.