Implements FileSystemOperations for Gradle 6.x.
| Fields inherited from class | Fields |
|---|---|
class org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy |
__$stMC |
| Constructor and description |
|---|
DefaultFileSystemOperations
(Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
WorkResult |
copy(Action<? super CopySpec> action)Copies the specified files. |
|
WorkResult |
delete(Action<? super DeleteSpec> action)Deletes the specified files. |
|
File |
file(Object file)Converts a file-like object to a File instance with project context. |
|
File |
fileOrNull(Object file)Similar to {@Link #file}, but does not throw an exception if the object is null or an empty provider. |
|
WorkResult |
sync(Action<? super CopySpec> action)Synchronizes the contents of a destination directory with some source directories and files. |
| Methods inherited from class | Name |
|---|---|
class org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy |
org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#relativePath(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#relativeRootPath(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#relativePathToProjectDir(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#relativePathToRootDir(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#setProperty(java.lang.String, java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#getProperty(java.lang.String), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#invokeMethod(java.lang.String, java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#getMetaClass(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#setMetaClass(groovy.lang.MetaClass), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#wait(long, int), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#wait(long), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#wait(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#equals(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#toString(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#hashCode(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#getClass(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#notify(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#notifyAll(), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#fileOrNull(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#delete(org.gradle.api.Action), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#copy(org.gradle.api.Action), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#file(java.lang.Object), org.ysb33r.grolifant.loadable.core.FileSystemOperationsProxy#sync(org.gradle.api.Action) |
Copies the specified files.
action - Configures a CopySpecDeletes the specified files.
action - Configures a DeleteSpecConverts a file-like object to a File instance with project context.
Converts any of the following recursively until it gets to a file:
CharSequence including String and GString.
file: schemes.
file - Potential File objectSimilar to {
null or an empty provider.file - Potential File objectnull.Synchronizes the contents of a destination directory with some source directories and files.
action - Action to configure the CopySpec.