|
|
fun amendFile(file: File, amender: (String) -> String): Unit |
|
|
fun amendFiles(dir: File, wildcardFilters: List<String>, amender: (File, String) -> String): Unit |
|
|
fun copyResources(resourceRoot: String, targetDir: File, skipExisting: Boolean = false): Unit |
|
|
fun eachResource(resourceRoot: String, targetDir: File, callback: (String, File) -> Unit): Unit |
|
|
fun find(project: Project, dir: File, fileNames: List<String>): File?
fun find(project: Project, dirIfFileName: String, pathOrFileNames: List<String>): File?
fun find(project: Project, dir: File, pathOrFileName: String): File?
fun find(project: Project, dirIfFileName: String, pathOrFileName: String): File?
fun find(dir: File, pattern: String): File?
fun find(dir: File, patterns: List<String>): File? |
|
|
fun getResources(path: String): List<String> |
|
|
fun isDirEmpty(dir: File): Boolean
fun isDirEmpty(dir: Path): Boolean |
|
|
fun lock(file: File): Unit
fun lock(file: File, callback: () -> Unit): Unit |
|
|
fun readResource(path: String): InputStream? |
|
|
fun removeDirContents(dir: File): Boolean |