gradle
8.2

# FileSystemOperations

interface FileSystemOperations

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`.

## Functions

copy
Link copied to clipboard
abstract fun copy(action: Action<out Any>): WorkResult
Copies the specified files.
delete
Link copied to clipboard
abstract fun delete(action: Action<out Any>): WorkResult
Deletes the specified files.
sync
Link copied to clipboard
abstract fun sync(action: Action<out Any>): WorkResult
Synchronizes the contents of a destination directory with some source directories and files.