mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-07 18:04:54 +01:00
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