summaryrefslogtreecommitdiffhomepage
path: root/pkg/app/paths/paths.go
blob: 03efc85e0df195963968121ba103938491691c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")
}