// Path: Backend/internal/bootstrap/project_disk.go package bootstrap import ( "path/filepath" ) func (service *Service) createProjectHierarchyFolderOnDisk(projectSlug, parentFolderID, name string) (string, string, error) { return service.createProjectFolderOnDisk(projectSlug, parentFolderID, name, projectHierarchyRootPath) } func (service *Service) createProjectTreeFolderOnDisk(projectSlug, parentFolderID, name string) (string, string, error) { return service.createProjectFolderOnDisk(projectSlug, parentFolderID, name, projectTreeRootPath) } func (service *Service) deleteProjectHierarchyFolderOnDisk(projectSlug, folderID string) (string, error) { return service.deleteProjectFolderOnDisk(projectSlug, folderID, projectHierarchyRootPath) } func (service *Service) deleteProjectTreeFolderOnDisk(projectSlug, folderID string) (string, error) { return service.deleteProjectFolderOnDisk(projectSlug, folderID, projectTreeRootPath) } func (service *Service) renameProjectHierarchyFolderOnDisk(projectSlug, folderID, name string) (string, string, error) { return service.renameProjectFolderOnDisk(projectSlug, folderID, name, projectHierarchyRootPath) } func (service *Service) renameProjectTreeFolderOnDisk(projectSlug, folderID, name string) (string, string, error) { return service.renameProjectFolderOnDisk(projectSlug, folderID, name, projectTreeRootPath) } func (service *Service) moveProjectHierarchyFolderOnDisk(projectSlug, folderID, parentFolderID string) (string, string, error) { return service.moveProjectFolderOnDisk(projectSlug, folderID, parentFolderID, projectHierarchyRootPath) } func (service *Service) moveProjectTreeFolderOnDisk(projectSlug, folderID, parentFolderID string) (string, string, error) { return service.moveProjectFolderOnDisk(projectSlug, folderID, parentFolderID, projectTreeRootPath) } func projectHierarchyRootPath(projectSlug string) string { return filepath.ToSlash(filepath.Join("projects", slugDir("project", projectSlug), "children")) } func projectTreeRootPath(projectSlug string) string { return filepath.ToSlash(filepath.Join("projects", slugDir("project", projectSlug), "tree")) }