MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / put

Method put

src/lib/http.ts:191–193  ·  view source on GitHub ↗
(path: string, options: RequestOptions = {})

Source from the content-addressed store, hash-verified

189 }
190
191 async put<T>(path: string, options: RequestOptions = {}): Promise<T> {
192 return this.requestWithMeta<T>('PUT', path, options).then(r => r.body);
193 }
194
195 async patch<T>(path: string, options: RequestOptions = {}): Promise<T> {
196 return this.requestWithMeta<T>('PATCH', path, options).then(r => r.body);

Callers

nothing calls this directly

Calls 1

requestWithMetaMethod · 0.95

Tested by

no test coverage detected