MCPcopy Index your code
hub / github.com/docker/docker-agent / UpdateSessionTitle

Method UpdateSessionTitle

pkg/runtime/runtime.go:1364–1370  ·  view source on GitHub ↗

UpdateSessionTitle persists the session title via the session store.

(ctx context.Context, sess *session.Session, title string)

Source from the content-addressed store, hash-verified

1362
1363// UpdateSessionTitle persists the session title via the session store.
1364func (r *LocalRuntime) UpdateSessionTitle(ctx context.Context, sess *session.Session, title string) error {
1365 sess.Title = title
1366 if r.sessionStore != nil {
1367 return r.sessionStore.UpdateSession(ctx, sess)
1368 }
1369 return nil
1370}
1371
1372// PermissionsInfo returns the team-level permission patterns.
1373// Returns nil if no permissions are configured.

Callers

nothing calls this directly

Calls 1

UpdateSessionMethod · 0.65

Tested by

no test coverage detected