MCPcopy Create free account

hub / github.com/cloudflare/computer / functions

Functions3,685 in github.com/cloudflare/computer

↓ 2 callersMethodinfo
* The **`console.info()`** static method outputs a message to the console at the 'info' log level. * * [MDN Reference](https://developer.moz
examples/think/worker-configuration.d.ts:172
↓ 2 callersFunctioninitWith
(opts: InitWithDeps)
packages/computer/src/git/init.ts:43
↓ 2 callersFunctioninstallLogging
(logFilePath: string | undefined)
packages/computerd/src/cli/logger.ts:75
↓ 2 callersMethodinterceptOutboundHttp
(host: string, workspace: WorkspaceRef)
packages/computer/src/backends/container/container-host.ts:55
↓ 2 callersFunctionisEnoent
(err: unknown)
packages/computer/src/tools/fs/store.ts:153
↓ 2 callersFunctionisIgnored
(path: string, patterns: string[])
packages/dofs/src/sync/ignore.ts:13
↓ 2 callersMethodisSymbolicLink
()
packages/dofs/src/provider.ts:82
↓ 2 callersMethodisWarmContainerHealthy
()
examples/think-compare-runtimes/worker/computer-container-pool.ts:22
↓ 2 callersFunctioniterableToReadableStream
(it: AsyncIterable<T>)
packages/rpc/src/server.ts:363
↓ 2 callersFunctionjoinPath
(base: string, segment: string)
packages/computer/src/git/cli.ts:2310
↓ 2 callersMethodkill
(id: string, signal?: "SIGTERM" | "SIGKILL" | "SIGINT" | "SIGHUP")
packages/rpc/src/server.ts:54
↓ 2 callersMethodkillExec
(input: { id: string; signal?: KillSignal })
packages/computer/src/runtime/types.ts:158
↓ 2 callersMethodlink
(source: string, destination: string, cb: StatusCallback)
packages/computerd/src/fuse/driver.ts:101
↓ 2 callersFunctionlinkCount
(db: Database, inode: number)
packages/dofs/src/provider.ts:761
↓ 2 callersMethodload
(code: { compatibilityDate: string; compatibilityFlags?: string[]; limits?: { cpuMs?: number };
packages/computer/src/runtime/types.ts:71
↓ 2 callersFunctionloadDiffPatch
()
packages/computer/src/git/index.ts:390
↓ 2 callersFunctionlogWith
(opts: LogWithDeps)
packages/computer/src/git/reads.ts:101
↓ 2 callersFunctionlooksLikePathspecMiss
(cause: unknown)
packages/computer/src/git/staging.ts:181
↓ 2 callersMethodlsFiles
List files in the index (or at a given ref).
packages/computer/src/git/index.ts:260
↓ 2 callersFunctionlsFilesWith
(opts: LsFilesWithDeps)
packages/computer/src/git/reads.ts:365
↓ 2 callersMethodlsTree
List one level of a tree (or sub-tree).
packages/computer/src/git/index.ts:262
↓ 2 callersFunctionlsTreeWith
(opts: LsTreeWithDeps)
packages/computer/src/git/reads.ts:399
↓ 2 callersFunctionlstat
(db: Database, path: string)
packages/dofs/src/fs/stat.ts:31
↓ 2 callersFunctionmakeClient
()
packages/computer/src/artifacts/cli.test.ts:12
↓ 2 callersFunctionmakeFUSEOps
(vfs: NodeVirtualFileSystem, mountPoint = "/")
packages/computerd/src/fuse/driver.ts:145
↓ 2 callersFunctionmakeFakeRunner
()
packages/rpc/tests/shell-and-composite.test.ts:50
↓ 2 callersFunctionmakeHandle
(id = "x", backend = "test")
packages/computer/src/client.test.ts:32
↓ 2 callersMethodmakeLiveStream
(record: ExecRecord, replayAfter: number)
packages/computerd/src/exec/runner.ts:345
↓ 2 callersFunctionmakePathFilter
(paths: string[] | undefined)
packages/computer/src/git/diff.ts:264
↓ 2 callersFunctionmakeRecorder
()
packages/computer/src/observe-recorder.ts:24
↓ 2 callersFunctionmakeStream
(id: string)
packages/computer/src/shell.test.ts:92
↓ 2 callersFunctionmapStat
(s: WorkspaceStatResult)
packages/computer/src/backends/worker-shell/adapter.ts:273
↓ 2 callersFunctionmarkDirty
(entry: FileEntry, start: number, end: number)
packages/computerd/src/fuse/driver.ts:279
↓ 2 callersFunctionmaybeDispose
(value: unknown)
packages/computer/src/shell.ts:555
↓ 2 callersMethodmerge
Merge a ref into the current branch (or `ours`).
packages/computer/src/git/index.ts:284
↓ 2 callersFunctionmergeWith
(opts: MergeWithDeps)
packages/computer/src/git/network.ts:383
↓ 2 callersFunctionmissingPath
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:263
↓ 2 callersFunctionmkdir
(path, mode, cb)
packages/computerd/src/fuse/driver.ts:758
↓ 2 callersFunctionmoduleName
(path: string)
packages/computer/src/backends/worker-javascript/module-graph.ts:219
↓ 2 callersFunctionnodeFsPromisesModule
()
packages/computer/src/backends/worker-javascript/module-graph.ts:313
↓ 2 callersFunctionnormalisePrefix
(prefix: string | undefined)
packages/computer/src/assets/upload.ts:39
↓ 2 callersFunctionnormalizeToLF
(text: string)
packages/computer/src/tools/fs/edit-diff.ts:20
↓ 2 callersFunctionop
(_path: string, cb: (errno: number) => void)
packages/computerd/src/fuse/tracer.test.ts:58
↓ 2 callersFunctionopenFileHandle
(path: string)
packages/computerd/src/fuse/driver.ts:170
↓ 2 callersFunctionopenHandle
(path: string)
packages/computerd/src/fuse/driver.ts:164
↓ 2 callersFunctionopenLog
(db: Database, id: string, opts: LogOptions)
packages/computerd/src/exec/log.ts:63
↓ 2 callersMethodopenWriteBufferForCreateSync
(path: string, options?: { mode?: number })
packages/dofs/src/provider.ts:462
↓ 2 callersFunctionoverlapsRoot
(path: string, root: string)
packages/dofs/src/fs/mount-guard.ts:54
↓ 2 callersFunctionpakoErrno
(error: ZlibError)
packages/computer/src/git/pako-zlib-shim.ts:109
↓ 2 callersFunctionparseFrame
(line: string)
packages/computer/src/backends/worker-shell/worker-shell.ts:300
↓ 2 callersFunctionparseFuseMountMode
(value: string | undefined)
packages/computerd/src/fuse/backend.ts:32
↓ 2 callersFunctionparsePositiveInteger
(value: string | undefined, fallback: number)
examples/think-compare-runtimes/worker/container-config.ts:31
↓ 2 callersFunctionparseRuntimeFrame
(line: string)
packages/computer/src/backends/worker-javascript/frames.ts:9
↓ 2 callersFunctionpositionPct
(timestamp: number, scale: TimelineScale)
examples/think-compare-runtimes/src/runtime-wing.tsx:382
↓ 2 callersFunctionpresignUrl
(options: PresignOptions)
packages/computer/src/assets/sigv4.ts:101
↓ 2 callersFunctionprobeComputerdHealth
( host: IWorkspaceContainerAPI, options: ComputerdHealthProbeOptions, )
packages/computer/src/backends/container/health-probe.ts:30
↓ 2 callersFunctionproxyModule
(capabilitiesImport: string, namespace: string, methods: string[])
packages/computer/src/backends/worker-javascript/module-graph.ts:299
↓ 2 callersMethodpublish
(path: string, options: Pick<ShareOptions, "expiresAfter">)
packages/computer/src/stub.ts:463
↓ 2 callersFunctionpullWith
(opts: PullWithDeps)
packages/computer/src/git/network.ts:298
↓ 2 callersFunctionpushWith
(opts: PushWithDeps)
packages/computer/src/git/network.ts:237
↓ 2 callersFunctionrandomId
(randomBytes: (n: number) => Uint8Array = defaultRandomBytes)
packages/computer/src/assets/base32.ts:79
↓ 2 callersMethodreadBlob
(args: { fs: object; dir: string; oid: string; filepath: string; cache?: object; })
packages/computer/src/git/diff.ts:33
↓ 2 callersFunctionreadBlobAsText
( git: IsomorphicGitDiffClient, fs: object, dir: string, oid: string, filepath: string, cache: obj
packages/computer/src/git/diff.ts:287
↓ 2 callersFunctionreadChunkBytes
(db: Database, inode: number, idx: number)
packages/dofs/src/fs/writeFile.ts:377
↓ 2 callersMethodreadChunks
* Stream the file (or a byte range of it) in chunks. The total * bytes yielded MUST equal min(byteLength ?? size - byteOffset, * size - byteOffs
packages/computer/src/tools/fs/types.ts:29
↓ 2 callersMethodreadEntry
(path: string)
packages/rpc/src/interface.ts:75
↓ 2 callersMethodreadFileBuffer
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:93
↓ 2 callersMethodreadFileBytes
(path: string)
packages/computer/src/workspace.ts:175
↓ 2 callersFunctionreadFileFrom
(fs: IsomorphicGitFSClient)
packages/computer/src/git/index.ts:739
↓ 2 callersFunctionreadNode
(db: Database, inode: number)
packages/dofs/src/fs/resolve.ts:258
↓ 2 callersFunctionreadOnlyRootFor
(db: Database, path: string)
packages/dofs/src/fs/mount-guard.ts:76
↓ 2 callersMethodreadRangeSync
(path: string, offset: number, length: number)
packages/dofs/src/provider.ts:592
↓ 2 callersMethodreaddir
(path: string, cb: ResultCallback<string[]>)
packages/computerd/src/fuse/driver.ts:50
↓ 2 callersMethodreaddirWithFileTypes
(path = ".")
packages/computer/src/runtime/capability.ts:98
↓ 2 callersMethodreadlink
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:47
↓ 2 callersMethodrealpathSync
(path: string, _options?: { encoding?: BufferEncoding })
packages/dofs/src/provider.ts:541
↓ 2 callersFunctionreconcile
()
packages/computerd/src/shim/shim.ts:174
↓ 2 callersMethodreconcileNow
* Block until the VFS reflects the on-disk tree's current state. * Called by the SyncRPC `fetchChanges` handler right before it * computes the c
packages/computerd/src/shim/shim.ts:65
↓ 2 callersFunctionreconcileWatermarks
( db: Database, remote: SyncRPC, backend?: string, )
packages/rpc/src/sync-driver.ts:396
↓ 2 callersFunctionrecordDelete
(db: Database, rev: number, path: string)
packages/dofs/src/sync/changes.ts:9
↓ 2 callersMethodrelease
()
packages/computer/src/backends/worker-javascript/worker-javascript.ts:116
↓ 2 callersMethodreleaseWriteBufferSync
(path: string)
packages/dofs/src/provider.ts:466
↓ 2 callersMethodremoteAdd
Add a named remote pointing at a URL.
packages/computer/src/git/index.ts:286
↓ 2 callersFunctionremoteAddWith
(opts: RemoteAddWithDeps)
packages/computer/src/git/network.ts:440
↓ 2 callersMethodremoteList
List configured remotes.
packages/computer/src/git/index.ts:290
↓ 2 callersFunctionremoteListWith
(opts: RemoteListWithDeps)
packages/computer/src/git/network.ts:494
↓ 2 callersFunctionremoteRemoveWith
(opts: RemoteRemoveWithDeps)
packages/computer/src/git/network.ts:468
↓ 2 callersMethodremove
(args: { fs: object; dir: string; filepath: string; cache?: object })
packages/computer/src/git/staging.ts:33
↓ 2 callersFunctionremoveInodeTreeAtPath
(db: Database, path: string, inode: number, type: NodeType)
packages/dofs/src/sync/apply.ts:99
↓ 2 callersFunctionremoveReplaceableFinalEntry
( db: Database, path: string, incomingKind: "file" | "symlink", )
packages/dofs/src/sync/apply.ts:84
↓ 2 callersMethodreplay
(after: number | "tail" = 0)
packages/computerd/src/exec/log.ts:174
↓ 2 callersMethodrepoRoot
Find the repository root by walking up from `dir`.
packages/computer/src/git/index.ts:256
↓ 2 callersFunctionrepoRootWith
(opts: RepoRootWithDeps)
packages/computer/src/git/reads.ts:288
↓ 2 callersFunctionresetWith
(opts: ResetWithDeps)
packages/computer/src/git/worktree.ts:144
↓ 2 callersFunctionresolveIdent
( explicit: { name: string; email: string } | undefined, envName: string | undefined, envEmail: string |
packages/computer/src/git/network.ts:136
↓ 2 callersFunctionresolveS3
(s3: S3Config, env: AssetsEnv)
packages/computer/src/assets/index.ts:123
↓ 2 callersMethodrestart
(env: Record<string, string>)
packages/computer/src/backends/container/container-host.ts:71
↓ 2 callersFunctionrevParseWith
(opts: RevParseWithDeps)
packages/computer/src/git/reads.ts:179
↓ 2 callersFunctionrm
(path, opts)
packages/computer/src/workspace.ts:1164
↓ 2 callersFunctionrmWith
(opts: RmWithDeps)
packages/computer/src/git/staging.ts:166
← previousnext →601–700 of 3,685, ranked by callers