public class NoopDebugPathSanitizer extends DebugPathSanitizer
DebugPathSanitizer
pretty much doesn't do anything. It depends on the platform's
tools to do all sanitization themselves.Modifier and Type | Field and Description |
---|---|
static DebugPathSanitizer |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Map.Entry<Path,String>> |
getAllPaths(Optional<Path> workingDir) |
String |
getCompilationDirectory() |
com.google.common.collect.ImmutableMap<String,String> |
getCompilationEnvironment(Path workingDir,
boolean shouldSanitize) |
void |
restoreCompilationDirectory(Path path,
Path workingDir) |
getCompilationFlags, getPaddedDir, sanitizeFlags, sanitizer
public static final DebugPathSanitizer INSTANCE
public com.google.common.collect.ImmutableMap<String,String> getCompilationEnvironment(Path workingDir, boolean shouldSanitize)
getCompilationEnvironment
in class DebugPathSanitizer
protected Iterable<Map.Entry<Path,String>> getAllPaths(Optional<Path> workingDir)
getAllPaths
in class DebugPathSanitizer
public String getCompilationDirectory()
getCompilationDirectory
in class DebugPathSanitizer
public void restoreCompilationDirectory(Path path, Path workingDir)
restoreCompilationDirectory
in class DebugPathSanitizer