MCPcopy Index your code
hub / github.com/cloudflare/agents / createWorkspaceStateBackend

Function createWorkspaceStateBackend

packages/shell/src/workspace.ts:172–176  ·  view source on GitHub ↗
(
  workspace: WorkspaceFsLike
)

Source from the content-addressed store, hash-verified

170 * every caller gets identical ENOENT and stat-normalization semantics.
171 */
172export function createWorkspaceStateBackend(
173 workspace: WorkspaceFsLike
174): FileSystemStateBackend {
175 return new FileSystemStateBackend(new WorkspaceFileSystem(workspace));
176}
177
178/** @deprecated Use `FileSystemStateBackend` */
179export const WorkspaceStateBackend = FileSystemStateBackend;

Callers 4

stateToolsFunction · 0.90
workers.test.tsFile · 0.90
workspace.test.tsFile · 0.90
getToolsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected