delete

abstract fun delete(action: Action<in DeleteSpec>): WorkResult(source)

Deletes the specified files. The given action is used to configure a DeleteSpec, which is then used to delete the files.

Return

WorkResult that can be used to check if delete did any work.

Parameters

action

Action to configure the DeleteSpec