Method
compactSession
(
sid: string,
body: CompactSessionRequest = {},
)
Source from the content-addressed store, hash-verified
| 223 | return this.request('POST', `/sessions/${encodeURIComponent(sid)}:fork`, body); |
| 224 | } |
| 225 | compactSession( |
| 226 | sid: string, |
| 227 | body: CompactSessionRequest = {}, |
| 228 | ): Promise<CompactSessionResponse> { |
| 229 | return this.request( |
| 230 | 'POST', |
| 231 | `/sessions/${encodeURIComponent(sid)}:compact`, |
| 232 | body, |
| 233 | ); |
| 234 | } |
| 235 | undoSession( |
| 236 | sid: string, |
| 237 | body: UndoSessionRequest = { count: 1 }, |
Callers
nothing calls this directly
Tested by
no test coverage detected