fix(studio): keep project directory checks behind core services
This commit is contained in:
@@ -2,10 +2,14 @@ package p.studio.api.project;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
public interface ProjectCatalog {
|
||||
Path projectsRoot();
|
||||
|
||||
/** Returns the configured projects root only if it currently exists as a directory, without creating it. */
|
||||
Optional<Path> existingProjectsRoot();
|
||||
|
||||
List<ProjectReference> listProjects();
|
||||
|
||||
ProjectReference openProject(Path projectPath);
|
||||
|
||||
Reference in New Issue
Block a user