Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ functions
Functions
3,685 in github.com/cloudflare/computer
⨍
Functions
3,685
◇
Types & classes
2,803
↓ 3 callers
Function
createAssets
(options: CreateAssetsOptions)
packages/computer/src/assets/index.ts:191
↓ 3 callers
Function
createFileSync
( db: Database, path: string, options: WriteFileOptions, now: () => number, )
packages/dofs/src/fs/writeFile.ts:481
↓ 3 callers
Method
createFileSync
(path: string, options?: { mode?: number })
packages/computerd/src/fuse/driver.ts:214
↓ 3 callers
Function
createInstrumentedFixtureRuntime
({ runtime, inner, recorder, }: InstrumentedFixtureRuntimeOptions)
examples/think-compare-runtimes/worker/runtime/instrumented.ts:11
↓ 3 callers
Function
createRuntimeExecTool
({ runtime, runner, recorder, }: RuntimeExecToolOptions)
examples/think-compare-runtimes/worker/runtime/exec-tools.ts:34
↓ 3 callers
Function
createRuntimeFileTools
({ runtime, store, recorder, }: RuntimeFileToolsOptions)
examples/think-compare-runtimes/worker/runtime/file-tools.ts:26
↓ 3 callers
Function
createRuntimeThinkTools
({ adapter, recorder, }: RuntimeThinkToolsOptions)
examples/think-compare-runtimes/worker/think/runtime-tools.ts:62
↓ 3 callers
Function
createSandboxCommandRunner
(sandbox: SandboxCommandTarget)
examples/think-compare-runtimes/worker/runtime/sandbox.ts:48
↓ 3 callers
Function
createSandboxFileStore
(sandbox: SandboxFileStoreTarget)
examples/think-compare-runtimes/worker/runtime/sandbox.ts:34
↓ 3 callers
Function
createSandboxRuntimeAdapter
(options: SandboxRuntimeAdapterOptions)
examples/think-compare-runtimes/worker/runtime/adapter.ts:66
↓ 3 callers
Function
createWorkspaceCommandRunner
( workspace: WorkspaceCommandTarget, )
examples/think-compare-runtimes/worker/runtime/workspace.ts:53
↓ 3 callers
Function
createWorkspaceFileStore
(workspace: WorkspaceFileStoreTarget)
examples/think-compare-runtimes/worker/runtime/workspace.ts:42
↓ 3 callers
Function
credentialURL
(remote: string, token: string)
packages/computer/src/artifacts/cli.ts:306
↓ 3 callers
Method
delete
(keys: string | string[])
examples/think/worker-configuration.d.ts:2034
↓ 3 callers
Function
destroyContainerExpectingExit
( ctx: DurableObjectState, container: ContainerHandle, )
packages/computer/src/backends/container/container-lifecycle.ts:122
↓ 3 callers
Method
diff
Unified diff between a ref (default HEAD) and the working tree.
packages/computer/src/git/index.ts:236
↓ 3 callers
Function
dirShadow
(mtimeMs: number)
packages/computerd/src/shim/shim.ts:505
↓ 3 callers
Method
equals
(other: DurableObjectId)
examples/think/worker-configuration.d.ts:515
↓ 3 callers
Function
errorJSON
(error: unknown, status: number)
examples/container/src/index.ts:243
↓ 3 callers
Function
errorJSON
(error: unknown, status: number)
examples/worker-shell/src/index.ts:203
↓ 3 callers
Function
errorJSON
(error: unknown, status: number)
examples/worker-javascript/src/index.ts:149
↓ 3 callers
Function
errorMessage
(cause: unknown)
packages/computer/src/git/staging.ts:191
↓ 3 callers
Method
exists
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:38
↓ 3 callers
Function
factsForRuntime
( events: RunEvent[], runtime: RuntimeId, policy: RuntimeMatchPolicy, )
examples/think-compare-runtimes/src/run-event-facts.ts:66
↓ 3 callers
Function
fakeRpc
()
packages/computer/src/workspace.test.ts:43
↓ 3 callers
Function
fakeRuntime
(promisedProperties = false)
packages/computer/src/client.test.ts:25
↓ 3 callers
Function
fetch
(options = {})
packages/computer/src/git/index.ts:566
↓ 3 callers
Function
fileSizeForInode
(db: Database, inode: number)
packages/dofs/src/fs/writeFile.ts:373
↓ 3 callers
Function
find
(db: Database, directory: string, pattern?: string)
packages/dofs/src/fs/find.ts:17
↓ 3 callers
Method
find
(directory: string, pattern?: string)
packages/computer/src/backends/worker-shell/adapter.ts:44
↓ 3 callers
Function
finish
()
packages/computer/src/shell.ts:512
↓ 3 callers
Function
flushReads
()
examples/think-compare-runtimes/src/runtime-panel-model.ts:324
↓ 3 callers
Method
get
(key: string)
packages/computer/src/mounts/providers/r2.ts:30
↓ 3 callers
Method
getContainer
()
examples/think-compare-runtimes/worker/computer-container-pool.ts:58
↓ 3 callers
Method
getEntrypoint
(name?: string, options?: WorkerStubEntrypointOptions)
examples/think/worker-configuration.d.ts:3489
↓ 3 callers
Method
getExec
(input: { id: string; after?: number | "tail" })
packages/computer/src/backends/worker-shell/worker-shell.ts:47
↓ 3 callers
Method
getExec
(input: { id: string; after?: number | "tail" })
packages/computer/src/runtime/types.ts:157
↓ 3 callers
Function
getReadOnlyMountRoots
(db: Database)
packages/dofs/src/fs/mount-guard.ts:39
↓ 3 callers
Function
getRuntimeAgentHandles
({ runId, workspaceNamespace, sandboxNamespace, getAgent = getRuntimeAgentByName, }: GetRuntimeAgentHa
examples/think-compare-runtimes/worker/runtime-agent-handles.ts:16
↓ 3 callers
Method
getToken
* Get a single token's metadata by id. The binding has no direct * accessor and no token-list cursor, so this filters the page * returned by `li
packages/computer/src/artifacts/client.ts:87
↓ 3 callers
Function
hasObjects
(db: Database, hashes: Uint8Array[])
packages/dofs/src/sync/fetch.ts:47
↓ 3 callers
Function
hex
(bytes: Uint8Array)
packages/dofs/src/sync/push.test.ts:57
↓ 3 callers
Function
hex
(bytes: Uint8Array)
packages/computer/src/workspace.test.ts:50
↓ 3 callers
Function
insertFileNode
(db: Database, mode: number, mtime: number)
packages/dofs/src/fs/writeFile.ts:295
↓ 3 callers
Function
installContainerMonitor
(ctx: DurableObjectState, container: ContainerHandle)
packages/computer/src/backends/container/container-lifecycle.ts:91
↓ 3 callers
Function
isEnoent
(err: unknown)
packages/computer/src/workspace.ts:1277
↓ 3 callers
Function
isWorkspaceTransportFailure
(error: unknown)
packages/computer/src/transport-failure.ts:76
↓ 3 callers
Method
kill
(signal?: KillSignal)
packages/computer/src/runtime/types.ts:136
↓ 3 callers
Method
killExec
(input: { id: string; signal?: "SIGTERM" | "SIGKILL" | "SIGINT" | "SIGHUP"; })
packages/computer/src/backends/worker-shell/worker-shell.ts:51
↓ 3 callers
Method
linkSync
(existingPath: string, newPath: string)
packages/dofs/src/provider.ts:303
↓ 3 callers
Function
ls
(db: Database, prefix: string)
packages/dofs/src/fs/ls.ts:50
↓ 3 callers
Function
materialiseChange
(db: Database, path: string)
packages/dofs/src/sync/changes.ts:52
↓ 3 callers
Method
meta
()
packages/computerd/src/exec/log.ts:195
↓ 3 callers
Function
modeFromVfs
(path: string)
packages/computerd/src/fuse/driver.ts:246
↓ 3 callers
Function
mountShim
(options: MountShimOptions)
packages/computerd/src/shim/shim.ts:93
↓ 3 callers
Function
normalizeForFuzzyMatch
(text: string)
packages/computer/src/tools/fs/edit-diff.ts:44
↓ 3 callers
Method
openWriteBufferSync
(path: string)
packages/dofs/src/provider.ts:458
↓ 3 callers
Function
parentAndNameForResolvedPath
(db: Database, path: string)
packages/dofs/src/fs/writeFile.ts:412
↓ 3 callers
Function
pathOf
(db: Database, inode: number)
packages/dofs/src/sync/paths.ts:6
↓ 3 callers
Method
provider
()
packages/computer/src/git/index.ts:215
↓ 3 callers
Method
pull
()
packages/computer/src/shell.ts:141
↓ 3 callers
Function
pushObjects
( db: Database, hashes: Uint8Array[], )
packages/dofs/src/sync/push.ts:13
↓ 3 callers
Method
pushObjects
(objects: ReadableStream<{ hash: Uint8Array; bytes: Uint8Array }>)
packages/rpc/src/interface.ts:87
↓ 3 callers
Method
readFile
(path: string)
examples/think-compare-runtimes/worker/think/agents.ts:452
↓ 3 callers
Function
readFileSync
(path: string)
examples/think-compare-runtimes/shared/fixture.test.ts:148
↓ 3 callers
Function
readRangeSync
( db: Database, path: string, offset: number, length: number, )
packages/dofs/src/fs/readFile.ts:123
↓ 3 callers
Function
readlink
(db: Database, path: string)
packages/dofs/src/fs/readlink.ts:8
↓ 3 callers
Method
readlink
(path: string)
packages/computer/src/runtime/types.ts:40
↓ 3 callers
Function
recordContainerLifecycle
( recorder: RuntimeThinkToolRecorder, input: { runtime: RuntimeId; kind: Extract<RunEventKind, "co
examples/think-compare-runtimes/worker/think/agents.ts:492
↓ 3 callers
Function
recordToolError
( recorder: RunEventRecorderLike, runtime: RuntimeId, title: string, error: unknown, )
examples/think-compare-runtimes/worker/runtime/file-tools.ts:117
↓ 3 callers
Function
request
(url)
packages/computerd/src/cli/computerd.test.ts:450
↓ 3 callers
Method
reset
()
examples/think-compare-runtimes/worker/container-warm-pool.ts:15
↓ 3 callers
Method
resolveConfined
(path: string, allowMissing = false)
packages/computer/src/runtime/capability.ts:181
↓ 3 callers
Function
resolveFuseBackend
( mode: FuseMountMode, options: ResolveFuseBackendOptions = {}, )
packages/computerd/src/fuse/backend.ts:42
↓ 3 callers
Method
resolveRef
(args: { fs: object; dir: string; ref: string })
packages/computer/src/git/reads.ts:60
↓ 3 callers
Method
revParse
Resolve a ref to its SHA-1 oid.
packages/computer/src/git/index.ts:254
↓ 3 callers
Method
rm
(path: string, options?: RmOptions)
packages/computer/src/backends/worker-shell/adapter.ts:50
↓ 3 callers
Method
rm
(path: string, options?: { recursive?: boolean; force?: boolean })
packages/computer/src/runtime/types.ts:65
↓ 3 callers
Function
safeVfsStat
( vfs: NodeVirtualFileSystem, path: string, )
packages/computerd/src/shim/shim.ts:522
↓ 3 callers
Function
scopePrefix
(sessionId: string)
packages/computer/src/artifacts/scope.ts:57
↓ 3 callers
Method
send
(message: Body, options?: QueueSendOptions)
examples/think/worker-configuration.d.ts:1932
↓ 3 callers
Method
setConfig
(args: { fs: object; dir: string; path: string; value: string | boolean | number | undefined;
packages/computer/src/git/plumbing.ts:42
↓ 3 callers
Function
sh
(strings: TemplateStringsArray, ...values: ShellValue[])
packages/computer/src/sh.ts:95
↓ 3 callers
Method
span
* Wraps `run` in a span named `name`, seeded with `attributes`. The * callback receives a `WorkspaceSpan` it can use to attach further * attribu
packages/computer/src/observe.ts:112
↓ 3 callers
Method
stash
(args: { fs: object; dir: string; op?: "push" | "pop" | "apply" | "drop" | "list" | "clear"; m
packages/computer/src/git/worktree.ts:19
↓ 3 callers
Method
stat
(path: string)
packages/computer/src/runtime/types.ts:38
↓ 3 callers
Method
status
Describe the working-tree / index / HEAD delta.
packages/computer/src/git/index.ts:242
↓ 3 callers
Method
statusMatrix
(args: { fs: object; dir: string; ref?: string; cache?: object; })
packages/computer/src/git/diff.ts:27
↓ 3 callers
Function
stubSnapshot
()
packages/rpc/src/debug.ts:56
↓ 3 callers
Method
stubSnapshot
()
packages/computer/tests/stub-soak-worker.ts:131
↓ 3 callers
Function
tick
( db: Database, remote: SyncRPC, )
packages/rpc/src/sync-driver.ts:370
↓ 3 callers
Function
toThinkFileInfo
(input: { path: string; name: string; size: number; mtime: number; isDirectory: boolean; isFile: b
packages/computer/src/workspace.ts:1221
↓ 3 callers
Function
toneClass
(tone: TimelineTone)
examples/think-compare-runtimes/src/runtime-wing.tsx:394
↓ 3 callers
Method
truncateFileSync
(path: string, size: number)
packages/computerd/src/fuse/driver.ts:221
↓ 3 callers
Function
unlinkDirent
( db: Database, parentInode: number, name: string, childInode: number, type: NodeType, )
packages/dofs/src/fs/unlink.ts:15
↓ 3 callers
Method
unmount
()
packages/computerd/src/shim/shim.ts:39
↓ 3 callers
Function
unscopedName
(sessionId: string, scoped: string)
packages/computer/src/artifacts/scope.ts:66
↓ 3 callers
Function
updateMeta
(path: string, patch: MetaOverride)
packages/computerd/src/fuse/driver.ts:191
↓ 3 callers
Function
visit
(value: unknown)
packages/computer/src/runtime/bridge.ts:364
↓ 3 callers
Function
withRealDb
( fn: (db: Database, provider: SQLiteWorkspaceProvider, storage: RealStorage) => T, )
packages/dofs/src/bench/fs-ops.bench.ts:51
← previous
next →
301–400 of 3,685, ranked by callers