| Package | Description |
|---|---|
| com.atlassian.dc.filestore.api | |
| com.atlassian.dc.filestore.api.compat |
| Modifier and Type | Method and Description |
|---|---|
FileStore.Path |
FileStore.Path.clonePath()
Creates a deep copy of the path that does not share any mutable state with the original.
|
default FileStore.Path |
FileStore.path(String... pathComponents) |
FileStore.Path |
FileStore.Path.path(String... pathComponents) |
FileStore.Path |
FileStore.root() |
| Modifier and Type | Method and Description |
|---|---|
Stream<? extends FileStore.Path> |
FileStore.Path.getFileDescendents()
Finds all files that are descendents of the current path and returns them as a stream.
|
Optional<? extends FileStore.Path> |
FileStore.Path.getParent() |
| Modifier and Type | Method and Description |
|---|---|
default void |
FileStore.Path.copyFile(FileStore.Path toFile)
Copies the file at this path to a new path.
|
default void |
FileStore.Path.copyFiles(FileStore.Path toPath)
Copies all files from under the current path, to a new root path, maintaining the relative path structure of all copied files.
|
default void |
FileStore.Path.moveFile(FileStore.Path toFile)
Moves the file at this path to a new path.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FilesystemPath
An extension of
FileStore.Path which provides visibility on the local filesystem's underlying path structure. |
Copyright © 2021–2024 Atlassian. All rights reserved.