opencode/pkg/app/paths/paths.go

16 lines
290 B
Go
Raw Normal View History

2025-05-18 09:31:42 +08:00
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")
}