Initialize narratio Go module and CLI scaffold
This commit is contained in:
8
internal/artifacts/paths.go
Normal file
8
internal/artifacts/paths.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package artifacts
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
// SessionWorkDir returns the work directory for one session.
|
||||
func SessionWorkDir(rootDir, sessionID string) string {
|
||||
return filepath.Join(rootDir, "work", sessionID)
|
||||
}
|
||||
Reference in New Issue
Block a user