MCPcopy Create free account
hub / github.com/openclaw/gogcli / commandLayout

Function commandLayout

internal/cmd/runtime.go:321–329  ·  view source on GitHub ↗
(ctx context.Context, kinds ...config.PathKind)

Source from the content-addressed store, hash-verified

319}
320
321func commandLayout(ctx context.Context, kinds ...config.PathKind) (config.Layout, error) {
322 if runtime, ok := app.FromContext(ctx); ok {
323 if err := configureRuntimeLayout(runtime, kinds...); err != nil {
324 return config.Layout{}, err
325 }
326 return runtime.Layout, nil
327 }
328 return config.Layout{}, errRuntimeRequired
329}
330
331func commandServiceAccountStore(ctx context.Context) (*config.ServiceAccountStore, error) {
332 if runtime, ok := app.FromContext(ctx); ok {

Callers 15

bindBackupConfigStoreFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
newTrackingConfigStoreFunction · 0.85
RunMethod · 0.85
bindManualAuthStateStoreFunction · 0.85
runDocsTabExportFunction · 0.85
openDocsBatchStoreFunction · 0.85
addKeyringEnvChecksFunction · 0.85
exportViaDriveFunction · 0.85

Calls 2

FromContextFunction · 0.92
configureRuntimeLayoutFunction · 0.85