Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/artifact-fs
/ functions
Functions
761 in github.com/cloudflare/artifact-fs
⨍
Functions
761
◇
Types & classes
71
↓ 3 callers
Function
upsertState
(ctx context.Context, tx *sql.Tx, key string, value string)
internal/snapshot/store.go:228
↓ 3 callers
Function
userinfoLikeBeforePath
(candidate string)
internal/auth/redact.go:257
↓ 3 callers
Function
validateOptionalString
(name: string, value: unknown)
examples/cloudflare-sandbox-sdk/src/index.ts:457
↓ 3 callers
Function
waitBenchmarkHydratorIdle
(b *testing.B, h *Service, repoID model.RepoID)
internal/hydrator/hydrator_benchmark_test.go:283
↓ 2 callers
Method
BlobToCache
(ctx context.Context, repo RepoConfig, objectOID string, dstPath string)
internal/model/types.go:164
↓ 2 callers
Method
CommitTime
()
internal/fusefs/merged.go:46
↓ 2 callers
Method
CommitTimestamp
(ctx context.Context, repo RepoConfig, oid string)
internal/model/types.go:167
↓ 2 callers
Method
Create
(ctx context.Context, path string, mode uint32)
internal/fusefs/ops.go:96
↓ 2 callers
Method
EnqueueBatch
(tasks []HydrationTask)
internal/model/types.go:197
↓ 2 callers
Method
Len
()
internal/hydrator/hydrator.go:539
↓ 2 callers
Method
ListByPrefix
(ctx context.Context, prefix string)
internal/model/types.go:192
↓ 2 callers
Method
LookUpInode
(context.Context, *fuseops.LookUpInodeOp)
internal/fusefs/gated_fs_test.go:22
↓ 2 callers
Function
MountRepoWithGate
(repo model.RepoConfig, resolver *Resolver, engine *Engine, gate *ReadyGate)
internal/fusefs/fuse_unix.go:714
↓ 2 callers
Function
New
(ctx context.Context, dbPath string)
internal/registry/registry.go:46
↓ 2 callers
Function
ParseRefresh
(v string)
internal/daemon/daemon.go:1334
↓ 2 callers
Method
Prepare
(ctx context.Context, name string)
internal/daemon/daemon.go:424
↓ 2 callers
Method
QueueDepth
(repoID RepoID)
internal/model/types.go:200
↓ 2 callers
Method
ReadTreeHEAD
ReadTreeHEAD updates the git index to match HEAD. Must be called after HEAD changes (branch switch, commit) so git status inside the mount is correct.
internal/gitstore/gitstore.go:823
↓ 2 callers
Method
RemoveRepo
(ctx context.Context, name string)
internal/model/types.go:152
↓ 2 callers
Method
SetHydrationConcurrency
(n int)
internal/daemon/daemon.go:111
↓ 2 callers
Method
UpdatePrepareState
(ctx context.Context, repoID model.RepoID, state string, prepareErr string)
internal/registry/registry.go:91
↓ 2 callers
Method
UpdatePrepareStateForConfig
(ctx context.Context, cfg model.RepoConfig, state string, prepareErr string)
internal/registry/registry.go:100
↓ 2 callers
Method
ValidateAmbientRemote
(repo model.RepoConfig)
internal/gitstore/gitstore.go:164
↓ 2 callers
Method
Write
(ctx context.Context, path string, off int64, data []byte)
internal/fusefs/ops.go:83
↓ 2 callers
Method
alive
()
internal/gitstore/gitstore.go:678
↓ 2 callers
Function
applyAheadBehind
(st *model.RepoRuntimeState, state aheadBehind)
internal/daemon/daemon.go:1214
↓ 2 callers
Function
applyHydrationStats
(st *model.RepoRuntimeState, cacheDir string)
internal/daemon/daemon.go:1238
↓ 2 callers
Method
applyPrepareState
(ctx context.Context, cfg model.RepoConfig, state string, stateErr error, applyReadyRuntime bool)
internal/daemon/daemon.go:894
↓ 2 callers
Function
authorizeRequest
(request: Request, env: Env)
examples/cloudflare-sandbox-sdk/src/index.ts:540
↓ 2 callers
Function
branchRefName
(ref string)
internal/daemon/daemon.go:814
↓ 2 callers
Method
changed
(path string)
internal/watcher/watcher.go:85
↓ 2 callers
Function
childName
childName extracts the immediate child name of entryPath under parent. Returns ("", false) if entryPath is not a descendant of parent.
internal/fusefs/merged.go:18
↓ 2 callers
Method
cloneBlobless
(ctx context.Context, cfg model.RepoConfig, extraEnv []string)
internal/gitstore/gitstore.go:89
↓ 2 callers
Method
close
(t *testing.T)
e2e_git_test.go:109
↓ 2 callers
Method
closeAll
(value T)
internal/hydrator/inflight.go:39
↓ 2 callers
Function
collectMountedRepoState
( sandbox: ReturnType<typeof getSandbox>, repoName: string, mountPath: string )
examples/cloudflare-sandbox-sdk/src/index.ts:344
↓ 2 callers
Function
compareMountMetadata
( existing: StoredMountMetadata | null, requested: { remote?: string; branch?: string; repoNam
examples/cloudflare-sandbox-sdk/src/index.ts:398
↓ 2 callers
Function
createPreparedGitDir
(t *testing.T, remoteURL string)
e2e_async_test.go:130
↓ 2 callers
Method
currentRefChanged
(refPath string)
internal/watcher/watcher.go:60
↓ 2 callers
Method
ensurePreparedRepo
ensurePreparedRepo makes sure the repo is cloned and has an initial snapshot. The returned snapshot store remains open for callers that need to contin
internal/daemon/daemon.go:493
↓ 2 callers
Function
errorResponse
(error: unknown)
examples/cloudflare-sandbox-sdk/src/index.ts:527
↓ 2 callers
Function
fetchBatchToFile
(ctx context.Context, batch *batchCatFile, objectOID string, dstPath string)
internal/gitstore/gitstore.go:489
↓ 2 callers
Function
fetchRefTarget
(repo model.RepoConfig, ref string)
internal/gitstore/gitstore.go:1201
↓ 2 callers
Method
fetchState
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:1160
↓ 2 callers
Method
fileHandle
(handleID fuseops.HandleID)
internal/fusefs/fuse_unix.go:147
↓ 2 callers
Function
gitArgsWithSafeDirectory
(dir string, args ...string)
e2e_test.go:502
↓ 2 callers
Function
gitCmdQuiet
(t *testing.T, dir string, args ...string)
e2e_git_test.go:427
↓ 2 callers
Method
headRefPath
(headPath string)
internal/watcher/watcher.go:68
↓ 2 callers
Function
hydrateBenchmarkNodes
(b *testing.B, h *Service, cfg model.RepoConfig, nodes []model.BaseNode, callerWorkers int)
internal/hydrator/hydrator_benchmark_test.go:262
↓ 2 callers
Method
hydrationWorkers
()
internal/daemon/daemon.go:118
↓ 2 callers
Function
isMalformedHTTPUserinfo
(raw string, u *url.URL)
internal/auth/redact.go:138
↓ 2 callers
Function
isMounted
isMounted checks whether the given path is a FUSE mount point by reading /proc/mounts.
e2e_setup_linux_test.go:25
↓ 2 callers
Function
isPendingOrFailedPrepareState
(state string)
internal/daemon/daemon.go:1353
↓ 2 callers
Function
isSCPStyleRemote
(raw string)
internal/gitstore/gitstore.go:1053
↓ 2 callers
Function
malformedUserinfoInRemote
(rawURL string, u *url.URL)
internal/gitstore/gitstore.go:983
↓ 2 callers
Function
markFetchResult
(st *model.RepoRuntimeState, at time.Time, result string)
internal/daemon/daemon.go:1225
↓ 2 callers
Method
mountRepo
mountRepo opens all stores, starts the FUSE server, watcher, and refresh loop. Called by the daemon's Start for each registered repo.
internal/daemon/daemon.go:521
↓ 2 callers
Function
newAsyncPreparedE2ERepo
(t *testing.T, preparedGitDir string, fetchRef string)
e2e_async_test.go:167
↓ 2 callers
Function
normalizeMode
normalizeMode ensures sane permission bits. Git tree entries have mode 040000 which has zero permission bits after masking; directories need at least
internal/fusefs/merged.go:100
↓ 2 callers
Function
normalizeRemote
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:236
↓ 2 callers
Function
normalizeRequestedSandboxId
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:307
↓ 2 callers
Method
notifyHydrated
(repoID model.RepoID, objectOID string, size int64)
internal/hydrator/hydrator.go:458
↓ 2 callers
Function
parseStatusOutput
(out string)
e2e_git_test.go:491
↓ 2 callers
Function
percentiles
(durs []time.Duration)
bench_test.go:434
↓ 2 callers
Function
pickHydrationSample
pickHydrationSample selects files for hydration testing, preferring small text files to avoid slow binary downloads dominating the benchmark.
bench_test.go:402
↓ 2 callers
Function
prepareGateError
(msg string)
internal/daemon/daemon.go:1369
↓ 2 callers
Method
prepareRepo
prepareRepo clones the git repo and builds the initial snapshot. It does NOT start a FUSE mount or any background goroutines, so it's safe to call fro
internal/daemon/daemon.go:481
↓ 2 callers
Function
readBatchBlob
(ctx context.Context, batch *batchCatFile, objectOID string, maxBytes int64)
internal/gitstore/gitstore.go:542
↓ 2 callers
Function
readFileChunk
(path string, off int64, size int)
internal/fusefs/ops.go:234
↓ 2 callers
Function
readMountMetadata
( sandbox: ReturnType<typeof getSandbox> )
examples/cloudflare-sandbox-sdk/src/index.ts:384
↓ 2 callers
Method
readObjectSize
(oid string)
internal/gitstore/gitstore.go:784
↓ 2 callers
Method
readPersistedStatus
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:1021
↓ 2 callers
Function
redactMalformedURL
(raw string)
internal/auth/redact.go:38
↓ 2 callers
Function
redactQueryFragment
(raw string)
internal/auth/redact.go:57
↓ 2 callers
Function
remoteHasInlineCredentials
(rawURL string)
internal/gitstore/gitstore.go:965
↓ 2 callers
Function
remoteStartIndex
(s string)
internal/auth/redact.go:471
↓ 2 callers
Method
remove
(key string, ch chan T)
internal/hydrator/inflight.go:14
↓ 2 callers
Function
removeAllWithRetry
(t *testing.T, path string)
e2e_git_test.go:538
↓ 2 callers
Method
removeInvalidCacheFile
(cachePath string, repoID model.RepoID, objectOID string)
internal/hydrator/hydrator.go:295
↓ 2 callers
Method
resetRunningPrepareState
(cfg model.RepoConfig)
internal/daemon/daemon.go:705
↓ 2 callers
Method
resolveAttrs
(ctx context.Context, path string)
internal/fusefs/fuse_unix.go:325
↓ 2 callers
Method
restartRunningPrepareIfCurrent
(ctx context.Context, repo model.RepoConfig, rt *repoRuntime, alreadyPreparing bool)
internal/daemon/daemon.go:235
↓ 2 callers
Function
scanRepo
(s scanner)
internal/registry/registry.go:160
↓ 2 callers
Function
schemeLessUserinfoHasPassword
(raw string)
internal/gitstore/gitstore.go:1033
↓ 2 callers
Function
setHeadState
(st *model.RepoRuntimeState, oid string, ref string, gen int64)
internal/daemon/daemon.go:1208
↓ 2 callers
Method
setPrepareState
(ctx context.Context, cfg model.RepoConfig, state string, stateErr error)
internal/daemon/daemon.go:886
↓ 2 callers
Function
shouldMountAsync
(cfg model.RepoConfig)
internal/daemon/daemon.go:1349
↓ 2 callers
Method
startRepoBackground
(rt *repoRuntime)
internal/daemon/daemon.go:1180
↓ 2 callers
Method
startRuntime
(rt *repoRuntime)
internal/daemon/daemon.go:1168
↓ 2 callers
Function
stateInt64
(ctx context.Context, q stateQueryer, key string)
internal/snapshot/store.go:216
↓ 2 callers
Method
stopRuntime
(rt *repoRuntime)
internal/daemon/daemon.go:1282
↓ 2 callers
Function
waitFor
(t *testing.T, timeout time.Duration, ready func() bool)
internal/daemon/async_test.go:741
↓ 1 callers
Method
BaseCachePath
(ctx context.Context, path string)
internal/fusefs/ops.go:63
↓ 1 callers
Method
BlobToCache
(ctx context.Context, repo model.RepoConfig, objectOID string, dstPath string)
internal/hydrator/hydrator.go:18
↓ 1 callers
Method
ComputeAheadBehind
(ctx context.Context, repo RepoConfig)
internal/model/types.go:166
↓ 1 callers
Method
FetchNow
(ctx context.Context, name string)
internal/daemon/daemon.go:398
↓ 1 callers
Method
FetchRefNonInteractive
(ctx context.Context, repo model.RepoConfig, ref string)
internal/gitstore/gitstore.go:132
↓ 1 callers
Method
GetNodeCtx
(ctx context.Context, generation int64, path string)
internal/snapshot/store.go:135
↓ 1 callers
Function
MountRepo
(repo model.RepoConfig, resolver *Resolver, engine *Engine)
internal/fusefs/fuse_unix.go:710
↓ 1 callers
Method
Pop
()
internal/hydrator/hydrator.go:555
← previous
next →
201–300 of 761, ranked by callers