This commit is contained in:
Dax Raad
2025-05-17 21:31:42 -04:00
parent 96fbc37f01
commit a34d020bc6
26 changed files with 979 additions and 54 deletions

15
pkg/app/paths/paths.go Normal file
View File

@@ -0,0 +1,15 @@
package paths
import "path/filepath"
func Data(project string) string {
return filepath.Join(project, ".opencode")
}
func Storage(project string) string {
return filepath.Join(Data(project), "storage")
}
func Log(project string) string {
return filepath.Join(Data(project), "log")
}