MCPcopy Create free account
hub / github.com/compozy/agh / displaySessionWorkspace

Function displaySessionWorkspace

internal/cli/session.go:1303–1305  ·  view source on GitHub ↗
(info SessionRecord)

Source from the content-addressed store, hash-verified

1301}
1302
1303func displaySessionWorkspace(info SessionRecord) string {
1304 return firstNonEmpty(strings.TrimSpace(info.WorkspacePath), strings.TrimSpace(info.WorkspaceID))
1305}
1306
1307func resolveSessionCreateWorkspace(deps commandDeps, workspaceRef string, cwd string) (string, string, error) {
1308 trimmedWorkspace := strings.TrimSpace(workspaceRef)

Callers 4

workspaceSessionRowsFunction · 0.85
renderSessionHumanFunction · 0.85
renderSessionToonFunction · 0.85
sessionListBundleFunction · 0.85

Calls 1

firstNonEmptyFunction · 0.70

Tested by

no test coverage detected