refactor pipelineConfigPath into CameraConfig

This commit is contained in:
Matt
2019-11-27 20:20:00 -08:00
parent 249d69bf92
commit 0cb8960005
2 changed files with 10 additions and 7 deletions

View File

@@ -145,6 +145,10 @@ public class CameraConfig {
return Files.exists(getConfigFolderPath());
}
Path getPipelineFolderPath() {
return Paths.get(getConfigFolderPath().toString(), "pipelines");
}
private boolean configExists() {
return getConfigFolderExists() && Files.exists(getConfigPath());
}