UpdateSessionTitle persists the session title via the session store.
(ctx context.Context, sess *session.Session, title string)
| 1362 | |
| 1363 | // UpdateSessionTitle persists the session title via the session store. |
| 1364 | func (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. |
nothing calls this directly
no test coverage detected