paths.go 290 B

123456789101112131415
  1. package paths
  2. import "path/filepath"
  3. func Data(project string) string {
  4. return filepath.Join(project, ".opencode")
  5. }
  6. func Storage(project string) string {
  7. return filepath.Join(Data(project), "storage")
  8. }
  9. func Log(project string) string {
  10. return filepath.Join(Data(project), "log")
  11. }