sync
This commit is contained in:
15
pkg/app/paths/paths.go
Normal file
15
pkg/app/paths/paths.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user