Package bm.util

Class SameFiles

java.lang.Object
bm.util.SameFiles
All Implemented Interfaces:
PathPredicates

public class SameFiles extends Object implements PathPredicates
Provides predicates which can be used for FileContentState(Path, bm.target.FileContentState.ByteSource, Predicate, Predicate)

This is in particular intended to implement file copy operations where the dependency target provides the relative file paths which, after copying, will also exist in the target directory. If a full directory is copied to another directory, this is not needed, but if the contents of the dependency directory must be spilled into a target directory, the Target for the target directory must know exactly which files it has to deal with.