From a34d020bc6b252e842f042d935c7a0e6444460cf Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sat, 17 May 2025 21:31:42 -0400 Subject: sync --- pkg/app/paths/paths.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pkg/app/paths/paths.go (limited to 'pkg/app/paths') diff --git a/pkg/app/paths/paths.go b/pkg/app/paths/paths.go new file mode 100644 index 000000000..03efc85e0 --- /dev/null +++ b/pkg/app/paths/paths.go @@ -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") +} -- cgit v1.2.3