| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static DirectorySnapshot |
copyOf(Path sourceRoot)
Creates a new
DirectorySnapshot by creating a temporary directory and recursively copying the contents
of the given source directory into that temporary directory. |
void |
unpack(Path destination) |
public static DirectorySnapshot copyOf(Path sourceRoot) throws IOException
DirectorySnapshot by creating a temporary directory and recursively copying the contents
of the given source directory into that temporary directory.IOExceptionpublic void unpack(Path destination) throws IOException
unpack in interface SnapshotIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021–2024 Atlassian. All rights reserved.