public class DefaultFileSnapshotter extends Object implements FileSnapshotter
| Constructor and Description |
|---|
DefaultFileSnapshotter(Hasher hasher) |
| Modifier and Type | Method and Description |
|---|---|
FileCollectionSnapshot |
emptySnapshot()
Creates an empty snapshot, which changes can be later merged into.
|
FileCollectionSnapshot |
snapshot(FileCollection sourceFiles)
Creates a snapshot of the contents of the given collection
|
public DefaultFileSnapshotter(Hasher hasher)
public FileCollectionSnapshot emptySnapshot()
FileSnapshotteremptySnapshot in interface FileSnapshotterpublic FileCollectionSnapshot snapshot(FileCollection sourceFiles)
FileSnapshottersnapshot in interface FileSnapshottersourceFiles - The files to snapshotCopyright © 2013. All rights reserved