MCPcopy Create free account

hub / github.com/cloudflare/artifact-fs / functions

Functions761 in github.com/cloudflare/artifact-fs

↓ 5 callersMethodSetBatchPoolSize
(n int)
internal/gitstore/gitstore.go:69
↓ 5 callersMethodSetMountRoot
(root string)
internal/daemon/daemon.go:105
↓ 5 callersMethodTruncate
(ctx context.Context, path string, size int64)
internal/model/types.go:184
↓ 5 callersMethodValidatePreparedGitDir
(ctx context.Context, repo RepoConfig)
internal/model/types.go:170
↓ 5 callersFunctionassertPathMissing
(t *testing.T, path string)
e2e_git_test.go:531
↓ 5 callersMethodcloseCachedFile
()
internal/fusefs/fuse_unix.go:222
↓ 5 callersFunctionformatStatusLine
(st model.RepoRuntimeState)
internal/cli/cli.go:248
↓ 5 callersFunctionisHTTPRemote
(rawURL string, scheme string)
internal/gitstore/gitstore.go:944
↓ 5 callersFunctionmalformedAuthorityStart
(raw string)
internal/auth/redact.go:111
↓ 5 callersFunctionrunBenchmarkGit
(b *testing.B, dir string, args ...string)
internal/hydrator/hydrator_benchmark_test.go:329
↓ 5 callersFunctionrunBuildTreeBenchmarkGit
(b *testing.B, dir string, args ...string)
internal/gitstore/gitstore_benchmark_test.go:65
↓ 5 callersFunctionschemeLessUserinfoStart
(raw string)
internal/auth/redact.go:268
↓ 5 callersMethodsignalWork
signalWork performs a non-blocking send on workReady to wake a worker.
internal/hydrator/hydrator.go:75
↓ 5 callersFunctionskipIfNoFUSE
skipIfNoFUSE skips the test if the FUSE kernel module is not available.
e2e_setup_linux_test.go:11
↓ 5 callersFunctiontaskKey
(repoID model.RepoID, oid string)
internal/hydrator/hydrator.go:475
↓ 5 callersFunctiontestStore
(t *testing.T)
internal/snapshot/store_test.go:14
↓ 5 callersMethodvalidateCachedBlob
(ctx context.Context, repo model.RepoConfig, cachePath string, node model.BaseNode)
internal/hydrator/hydrator.go:246
↓ 5 callersFunctionwaitForBranchAndStatus
(t *testing.T, dir, wantBranch string, wantStatus map[string]string)
e2e_git_test.go:445
↓ 5 callersFunctionwaitForCondition
(t *testing.T, timeout time.Duration, description string, fn func() (bool, string))
e2e_git_test.go:509
↓ 5 callersFunctionwriteTestFile
(t *testing.T, dir, name, content string)
e2e_test.go:72
↓ 4 callersMethodClose
()
internal/registry/registry.go:61
↓ 4 callersMethodClose
Close shuts down all persistent batch processes.
internal/gitstore/gitstore.go:60
↓ 4 callersMethodDirtyCount
(ctx context.Context)
internal/model/types.go:191
↓ 4 callersMethodFetch
(ctx context.Context, repo RepoConfig)
internal/model/types.go:160
↓ 4 callersMethodLookUpInode
(ctx context.Context, op *fuseops.LookUpInodeOp)
internal/fusefs/fuse_unix.go:250
↓ 4 callersMethodNodeType
()
internal/model/types.go:100
↓ 4 callersMethodPrepareExistingCloneNonInteractive
(ctx context.Context, repo model.RepoConfig)
internal/gitstore/gitstore.go:145
↓ 4 callersMethodPrepareFetchedBranch
(ctx context.Context, repo RepoConfig, ref string)
internal/model/types.go:169
↓ 4 callersMethodReadBlob
(ctx context.Context, repo RepoConfig, objectOID string, maxBytes int64)
internal/model/types.go:165
↓ 4 callersMethodReadState
ReadState returns persisted HEAD OID, ref, and generation from the snapshot database. Used by status commands that run outside the daemon process.
internal/snapshot/store.go:114
↓ 4 callersMethodReadSymlink
(ctx context.Context, op *fuseops.ReadSymlinkOp)
internal/fusefs/fuse_unix.go:628
↓ 4 callersMethodReaddir
(ctx context.Context, path string)
internal/fusefs/merged.go:111
↓ 4 callersMethodReaddirTyped
ReaddirTyped returns directory entries with name and type, so the FUSE adapter doesn't need to call Getattr per child.
internal/fusefs/merged.go:125
↓ 4 callersMethodStatus
(ctx context.Context, name string)
internal/daemon/daemon.go:376
↓ 4 callersMethodWatch
(ctx context.Context, gitDir string, fn func())
internal/watcher/watcher.go:24
↓ 4 callersMethodacquire
()
internal/gitstore/gitstore.go:586
↓ 4 callersMethodadd
(key string, ch chan T)
internal/hydrator/inflight.go:9
↓ 4 callersFunctionassertContains
(t *testing.T, items []string, want string)
e2e_test.go:513
↓ 4 callersFunctionassertPathExists
(t *testing.T, path string)
e2e_git_test.go:524
↓ 4 callersMethodchildPath
(parentID fuseops.InodeID, name string)
internal/fusefs/fuse_unix.go:129
↓ 4 callersFunctioncleanChildPath
(parentPath string, name string)
internal/fusefs/fuse_unix.go:772
↓ 4 callersFunctioncreateLocalTestRepo
createLocalTestRepo creates a bare git repo seeded with enough content to exercise all e2e test assertions. Returns a file:// URL suitable for blobles
e2e_test.go:28
↓ 4 callersFunctioncreatePreparedGitDir
(t *testing.T, tmp string)
internal/daemon/async_test.go:708
↓ 4 callersMethodensureOverlay
ensureOverlay promotes a base file to the overlay (hydrate → copy-on-write). No-op if the path already has an overlay entry.
internal/fusefs/ops.go:28
↓ 4 callersMethodfinishHydration
(key string, r result)
internal/hydrator/hydrator.go:467
↓ 4 callersMethodgetPool
(gitDir string)
internal/gitstore/gitstore.go:565
↓ 4 callersMethodkill
()
internal/gitstore/gitstore.go:691
↓ 4 callersFunctionlsDir
(t *testing.T, dir string)
e2e_test.go:467
↓ 4 callersMethodmountAsyncRepo
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:587
↓ 4 callersFunctionnotifyWaiters
(waiters []chan T, value T)
internal/hydrator/inflight.go:45
↓ 4 callersMethodprepareConfigStillCurrent
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:282
↓ 4 callersMethodrefreshCommitTime
(ctx context.Context, cfg model.RepoConfig, oid string, resolver *fusefs.Resolver, warnMsg string)
internal/daemon/daemon.go:1152
↓ 4 callersFunctionrunChecked
( sandbox: ReturnType<typeof getSandbox>, command: string, message: string, options?: { cwd?: string;
examples/cloudflare-sandbox-sdk/src/index.ts:502
↓ 4 callersFunctionrunGitWithEnv
(ctx context.Context, gitDir string, extraEnv []string, args ...string)
internal/gitstore/gitstore.go:851
↓ 4 callersFunctionsetChildEntryExpiry
(entry *fuseops.ChildInodeEntry, ttl time.Duration)
internal/fusefs/fuse_unix.go:780
↓ 4 callersFunctionstubCommand
(name, usage string, stdout io.Writer)
internal/cli/cli.go:278
↓ 4 callersFunctionsummarizeValues
(vals []float64)
e2e_bench_test.go:409
↓ 4 callersMethodtake
(key string)
internal/hydrator/inflight.go:33
↓ 4 callersFunctionwaitForHeadAndStatus
(t *testing.T, dir, prevHead string, wantStatus map[string]string)
e2e_git_test.go:468
↓ 4 callersFunctionwaitForMount
--- helpers (platform-independent) ---
e2e_test.go:455
↓ 4 callersFunctionwithService
withService creates a daemon.Service for the duration of the action.
internal/cli/cli.go:220
↓ 3 callersMethodCloneBloblessNonInteractive
(ctx context.Context, cfg RepoConfig)
internal/model/types.go:159
↓ 3 callersMethodCurrentGeneration
(ctx context.Context)
internal/snapshot/store.go:101
↓ 3 callersFunctionExecMigrations
(ctx context.Context, db *sql.DB, stmts []string)
internal/meta/sqlite.go:28
↓ 3 callersMethodFlush
()
internal/daemon/daemon.go:1140
↓ 3 callersMethodListRepos
(ctx context.Context)
internal/model/types.go:154
↓ 3 callersFunctionNewGatedFileSystem
(next fuseutil.FileSystem, gate *ReadyGate)
internal/fusefs/gated_fs.go:18
↓ 3 callersMethodOpenFile
(_ context.Context, op *fuseops.OpenFileOp)
internal/fusefs/fuse_unix.go:469
↓ 3 callersMethodPrefetchDir
PrefetchDir enqueues file children of a directory for speculative hydration. Called from OpenDir in a goroutine so it doesn't block the FUSE operation
internal/fusefs/ops.go:203
↓ 3 callersMethodRead
(ctx context.Context, path string, off int64, size int)
internal/fusefs/ops.go:45
↓ 3 callersMethodReadDir
(_ context.Context, op *fuseops.ReadDirOp)
internal/fusefs/fuse_unix.go:431
↓ 3 callersMethodReadTreeHEAD
(ctx context.Context, repo RepoConfig)
internal/model/types.go:168
↓ 3 callersMethodSetCommitTime
(ts int64)
internal/fusefs/merged.go:45
↓ 3 callersMethodSetMtime
SetMtime promotes base files/directories before updating mtime so the caller-controlled timestamp never overwrites base snapshot attrs.
internal/fusefs/ops.go:168
↓ 3 callersMethodSetOnHydrated
SetOnHydrated registers a callback invoked after each successful blob fetch.
internal/hydrator/hydrator.go:68
↓ 3 callersMethodUnmount
()
internal/fusefs/fuse_unix.go:25
↓ 3 callersMethodUpdateSizes
(ctx context.Context, generation int64, sizes map[string]int64)
internal/snapshot/store.go:171
↓ 3 callersMethodawaitHydration
(ctx context.Context, key string, ch chan result)
internal/hydrator/hydrator.go:190
↓ 3 callersFunctionboolToInt
(v bool)
internal/registry/registry.go:177
↓ 3 callersFunctioncachePathFor
(repo model.RepoConfig, oid string)
internal/hydrator/hydrator.go:479
↓ 3 callersMethodenqueueLocked
(task model.HydrationTask)
internal/hydrator/hydrator.go:131
↓ 3 callersFunctiongetenvDefault
(name, fallback string)
e2e_bench_test.go:436
↓ 3 callersFunctiongetenvInt
(name string, fallback int)
e2e_bench_test.go:424
↓ 3 callersMethodgitFileAttrs
()
internal/fusefs/fuse_unix.go:786
↓ 3 callersFunctionisKnownSingleLabelGitHost
(host string)
internal/auth/redact.go:218
↓ 3 callersFunctionisSCPStyleRemote
(raw string)
internal/auth/redact.go:291
↓ 3 callersFunctionisUserLikeHost
(host string)
internal/auth/redact.go:201
↓ 3 callersFunctionnewSizeUpdateBatcher
(snap *snapshot.Store, logger *slog.Logger, repoName string)
internal/daemon/daemon.go:1081
↓ 3 callersFunctionnormalizeGitDirMode
(mode uint32)
internal/overlay/store.go:408
↓ 3 callersFunctionnormalizeSandboxId
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:303
↓ 3 callersMethodpublishSnapshot
(ctx context.Context, cfg model.RepoConfig, snap *snapshot.Store, oid string, ref string)
internal/daemon/daemon.go:1056
↓ 3 callersMethodqueryEntries
queryEntries runs an arbitrary overlay query and scans the results.
internal/overlay/store.go:559
↓ 3 callersFunctionrawUserinfoCandidateHasPassword
(raw string)
internal/gitstore/gitstore.go:996
↓ 3 callersFunctionreadFileChunkFrom
(f *os.File, off int64, size int)
internal/fusefs/ops.go:243
↓ 3 callersFunctionredactSingleRemoteCore
(core string)
internal/auth/redact.go:466
↓ 3 callersMethodrelease
(b *batchCatFile)
internal/gitstore/gitstore.go:602
↓ 3 callersFunctionshellQuote
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:487
↓ 3 callersFunctionslashAfterPathAt
(path string)
internal/auth/redact.go:222
↓ 3 callersFunctionstateValue
(ctx context.Context, q stateQueryer, key string)
internal/snapshot/store.go:204
↓ 3 callersMethodsyncRepos
syncRepos reconciles the running set with the registry. Mounts new repos and unmounts repos that were removed or disabled.
internal/daemon/daemon.go:159
← previousnext →101–200 of 761, ranked by callers