sync
This commit is contained in:
parent
96fbc37f01
commit
a34d020bc6
26 changed files with 979 additions and 54 deletions
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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue