Class DirtyState

java.lang.Object
com.diffplug.spotless.DirtyState

public class DirtyState extends Object
The clean/dirty state of a single file. Intended use: - isClean() means that the file is is clean, and there's nothing else to say - didNotConverge() means that we were unable to determine a clean state - once you've tested the above conditions and you know that it's a dirty file with a converged state, then you can call writeCanonicalTo(OutputStream) to get the canonical form of the given file.