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
↓ 5 callers
Method
SetBatchPoolSize
(n int)
internal/gitstore/gitstore.go:69
↓ 5 callers
Method
SetMountRoot
(root string)
internal/daemon/daemon.go:105
↓ 5 callers
Method
Truncate
(ctx context.Context, path string, size int64)
internal/model/types.go:184
↓ 5 callers
Method
ValidatePreparedGitDir
(ctx context.Context, repo RepoConfig)
internal/model/types.go:170
↓ 5 callers
Function
assertPathMissing
(t *testing.T, path string)
e2e_git_test.go:531
↓ 5 callers
Method
closeCachedFile
()
internal/fusefs/fuse_unix.go:222
↓ 5 callers
Function
formatStatusLine
(st model.RepoRuntimeState)
internal/cli/cli.go:248
↓ 5 callers
Function
isHTTPRemote
(rawURL string, scheme string)
internal/gitstore/gitstore.go:944
↓ 5 callers
Function
malformedAuthorityStart
(raw string)
internal/auth/redact.go:111
↓ 5 callers
Function
runBenchmarkGit
(b *testing.B, dir string, args ...string)
internal/hydrator/hydrator_benchmark_test.go:329
↓ 5 callers
Function
runBuildTreeBenchmarkGit
(b *testing.B, dir string, args ...string)
internal/gitstore/gitstore_benchmark_test.go:65
↓ 5 callers
Function
schemeLessUserinfoStart
(raw string)
internal/auth/redact.go:268
↓ 5 callers
Method
signalWork
signalWork performs a non-blocking send on workReady to wake a worker.
internal/hydrator/hydrator.go:75
↓ 5 callers
Function
skipIfNoFUSE
skipIfNoFUSE skips the test if the FUSE kernel module is not available.
e2e_setup_linux_test.go:11
↓ 5 callers
Function
taskKey
(repoID model.RepoID, oid string)
internal/hydrator/hydrator.go:475
↓ 5 callers
Function
testStore
(t *testing.T)
internal/snapshot/store_test.go:14
↓ 5 callers
Method
validateCachedBlob
(ctx context.Context, repo model.RepoConfig, cachePath string, node model.BaseNode)
internal/hydrator/hydrator.go:246
↓ 5 callers
Function
waitForBranchAndStatus
(t *testing.T, dir, wantBranch string, wantStatus map[string]string)
e2e_git_test.go:445
↓ 5 callers
Function
waitForCondition
(t *testing.T, timeout time.Duration, description string, fn func() (bool, string))
e2e_git_test.go:509
↓ 5 callers
Function
writeTestFile
(t *testing.T, dir, name, content string)
e2e_test.go:72
↓ 4 callers
Method
Close
()
internal/registry/registry.go:61
↓ 4 callers
Method
Close
Close shuts down all persistent batch processes.
internal/gitstore/gitstore.go:60
↓ 4 callers
Method
DirtyCount
(ctx context.Context)
internal/model/types.go:191
↓ 4 callers
Method
Fetch
(ctx context.Context, repo RepoConfig)
internal/model/types.go:160
↓ 4 callers
Method
LookUpInode
(ctx context.Context, op *fuseops.LookUpInodeOp)
internal/fusefs/fuse_unix.go:250
↓ 4 callers
Method
NodeType
()
internal/model/types.go:100
↓ 4 callers
Method
PrepareExistingCloneNonInteractive
(ctx context.Context, repo model.RepoConfig)
internal/gitstore/gitstore.go:145
↓ 4 callers
Method
PrepareFetchedBranch
(ctx context.Context, repo RepoConfig, ref string)
internal/model/types.go:169
↓ 4 callers
Method
ReadBlob
(ctx context.Context, repo RepoConfig, objectOID string, maxBytes int64)
internal/model/types.go:165
↓ 4 callers
Method
ReadState
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 callers
Method
ReadSymlink
(ctx context.Context, op *fuseops.ReadSymlinkOp)
internal/fusefs/fuse_unix.go:628
↓ 4 callers
Method
Readdir
(ctx context.Context, path string)
internal/fusefs/merged.go:111
↓ 4 callers
Method
ReaddirTyped
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 callers
Method
Status
(ctx context.Context, name string)
internal/daemon/daemon.go:376
↓ 4 callers
Method
Watch
(ctx context.Context, gitDir string, fn func())
internal/watcher/watcher.go:24
↓ 4 callers
Method
acquire
()
internal/gitstore/gitstore.go:586
↓ 4 callers
Method
add
(key string, ch chan T)
internal/hydrator/inflight.go:9
↓ 4 callers
Function
assertContains
(t *testing.T, items []string, want string)
e2e_test.go:513
↓ 4 callers
Function
assertPathExists
(t *testing.T, path string)
e2e_git_test.go:524
↓ 4 callers
Method
childPath
(parentID fuseops.InodeID, name string)
internal/fusefs/fuse_unix.go:129
↓ 4 callers
Function
cleanChildPath
(parentPath string, name string)
internal/fusefs/fuse_unix.go:772
↓ 4 callers
Function
createLocalTestRepo
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 callers
Function
createPreparedGitDir
(t *testing.T, tmp string)
internal/daemon/async_test.go:708
↓ 4 callers
Method
ensureOverlay
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 callers
Method
finishHydration
(key string, r result)
internal/hydrator/hydrator.go:467
↓ 4 callers
Method
getPool
(gitDir string)
internal/gitstore/gitstore.go:565
↓ 4 callers
Method
kill
()
internal/gitstore/gitstore.go:691
↓ 4 callers
Function
lsDir
(t *testing.T, dir string)
e2e_test.go:467
↓ 4 callers
Method
mountAsyncRepo
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:587
↓ 4 callers
Function
notifyWaiters
(waiters []chan T, value T)
internal/hydrator/inflight.go:45
↓ 4 callers
Method
prepareConfigStillCurrent
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:282
↓ 4 callers
Method
refreshCommitTime
(ctx context.Context, cfg model.RepoConfig, oid string, resolver *fusefs.Resolver, warnMsg string)
internal/daemon/daemon.go:1152
↓ 4 callers
Function
runChecked
( sandbox: ReturnType<typeof getSandbox>, command: string, message: string, options?: { cwd?: string;
examples/cloudflare-sandbox-sdk/src/index.ts:502
↓ 4 callers
Function
runGitWithEnv
(ctx context.Context, gitDir string, extraEnv []string, args ...string)
internal/gitstore/gitstore.go:851
↓ 4 callers
Function
setChildEntryExpiry
(entry *fuseops.ChildInodeEntry, ttl time.Duration)
internal/fusefs/fuse_unix.go:780
↓ 4 callers
Function
stubCommand
(name, usage string, stdout io.Writer)
internal/cli/cli.go:278
↓ 4 callers
Function
summarizeValues
(vals []float64)
e2e_bench_test.go:409
↓ 4 callers
Method
take
(key string)
internal/hydrator/inflight.go:33
↓ 4 callers
Function
waitForHeadAndStatus
(t *testing.T, dir, prevHead string, wantStatus map[string]string)
e2e_git_test.go:468
↓ 4 callers
Function
waitForMount
--- helpers (platform-independent) ---
e2e_test.go:455
↓ 4 callers
Function
withService
withService creates a daemon.Service for the duration of the action.
internal/cli/cli.go:220
↓ 3 callers
Method
CloneBloblessNonInteractive
(ctx context.Context, cfg RepoConfig)
internal/model/types.go:159
↓ 3 callers
Method
CurrentGeneration
(ctx context.Context)
internal/snapshot/store.go:101
↓ 3 callers
Function
ExecMigrations
(ctx context.Context, db *sql.DB, stmts []string)
internal/meta/sqlite.go:28
↓ 3 callers
Method
Flush
()
internal/daemon/daemon.go:1140
↓ 3 callers
Method
ListRepos
(ctx context.Context)
internal/model/types.go:154
↓ 3 callers
Function
NewGatedFileSystem
(next fuseutil.FileSystem, gate *ReadyGate)
internal/fusefs/gated_fs.go:18
↓ 3 callers
Method
OpenFile
(_ context.Context, op *fuseops.OpenFileOp)
internal/fusefs/fuse_unix.go:469
↓ 3 callers
Method
PrefetchDir
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 callers
Method
Read
(ctx context.Context, path string, off int64, size int)
internal/fusefs/ops.go:45
↓ 3 callers
Method
ReadDir
(_ context.Context, op *fuseops.ReadDirOp)
internal/fusefs/fuse_unix.go:431
↓ 3 callers
Method
ReadTreeHEAD
(ctx context.Context, repo RepoConfig)
internal/model/types.go:168
↓ 3 callers
Method
SetCommitTime
(ts int64)
internal/fusefs/merged.go:45
↓ 3 callers
Method
SetMtime
SetMtime promotes base files/directories before updating mtime so the caller-controlled timestamp never overwrites base snapshot attrs.
internal/fusefs/ops.go:168
↓ 3 callers
Method
SetOnHydrated
SetOnHydrated registers a callback invoked after each successful blob fetch.
internal/hydrator/hydrator.go:68
↓ 3 callers
Method
Unmount
()
internal/fusefs/fuse_unix.go:25
↓ 3 callers
Method
UpdateSizes
(ctx context.Context, generation int64, sizes map[string]int64)
internal/snapshot/store.go:171
↓ 3 callers
Method
awaitHydration
(ctx context.Context, key string, ch chan result)
internal/hydrator/hydrator.go:190
↓ 3 callers
Function
boolToInt
(v bool)
internal/registry/registry.go:177
↓ 3 callers
Function
cachePathFor
(repo model.RepoConfig, oid string)
internal/hydrator/hydrator.go:479
↓ 3 callers
Method
enqueueLocked
(task model.HydrationTask)
internal/hydrator/hydrator.go:131
↓ 3 callers
Function
getenvDefault
(name, fallback string)
e2e_bench_test.go:436
↓ 3 callers
Function
getenvInt
(name string, fallback int)
e2e_bench_test.go:424
↓ 3 callers
Method
gitFileAttrs
()
internal/fusefs/fuse_unix.go:786
↓ 3 callers
Function
isKnownSingleLabelGitHost
(host string)
internal/auth/redact.go:218
↓ 3 callers
Function
isSCPStyleRemote
(raw string)
internal/auth/redact.go:291
↓ 3 callers
Function
isUserLikeHost
(host string)
internal/auth/redact.go:201
↓ 3 callers
Function
newSizeUpdateBatcher
(snap *snapshot.Store, logger *slog.Logger, repoName string)
internal/daemon/daemon.go:1081
↓ 3 callers
Function
normalizeGitDirMode
(mode uint32)
internal/overlay/store.go:408
↓ 3 callers
Function
normalizeSandboxId
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:303
↓ 3 callers
Method
publishSnapshot
(ctx context.Context, cfg model.RepoConfig, snap *snapshot.Store, oid string, ref string)
internal/daemon/daemon.go:1056
↓ 3 callers
Method
queryEntries
queryEntries runs an arbitrary overlay query and scans the results.
internal/overlay/store.go:559
↓ 3 callers
Function
rawUserinfoCandidateHasPassword
(raw string)
internal/gitstore/gitstore.go:996
↓ 3 callers
Function
readFileChunkFrom
(f *os.File, off int64, size int)
internal/fusefs/ops.go:243
↓ 3 callers
Function
redactSingleRemoteCore
(core string)
internal/auth/redact.go:466
↓ 3 callers
Method
release
(b *batchCatFile)
internal/gitstore/gitstore.go:602
↓ 3 callers
Function
shellQuote
(value: string)
examples/cloudflare-sandbox-sdk/src/index.ts:487
↓ 3 callers
Function
slashAfterPathAt
(path string)
internal/auth/redact.go:222
↓ 3 callers
Function
stateValue
(ctx context.Context, q stateQueryer, key string)
internal/snapshot/store.go:204
↓ 3 callers
Method
syncRepos
syncRepos reconciles the running set with the registry. Mounts new repos and unmounts repos that were removed or disabled.
internal/daemon/daemon.go:159
← previous
next →
101–200 of 761, ranked by callers