MCPcopy Create free account

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

Functions761 in github.com/cloudflare/artifact-fs

↓ 270 callersMethodJoin
(ctx context.Context)
internal/fusefs/fuse_unix.go:24
↓ 101 callersMethodWriteFile
(ctx context.Context, path string, off int64, data []byte)
internal/model/types.go:183
↓ 75 callersFunctionrun
(t *testing.T, name string, args ...string)
internal/gitstore/gitstore_test.go:1149
↓ 57 callersFunctioncontainsAny
(s string, needles []string)
internal/auth/redact_test.go:558
↓ 49 callersMethodGet
(path string)
internal/model/types.go:180
↓ 48 callersFunctiongitCmd
(t *testing.T, dir string, args ...string)
e2e_test.go:489
↓ 41 callersFunctionRedactString
(s string)
internal/auth/redact.go:322
↓ 38 callersMethodString
()
internal/overlay/store.go:625
↓ 37 callersFunctionRedactRemoteURL
(raw string)
internal/auth/redact.go:12
↓ 36 callersFunctionCleanPath
CleanPath normalizes a filesystem path for use as a map key or DB lookup. It strips leading slashes, cleans dot-segments, and defaults empty/root to "
internal/model/types.go:124
↓ 33 callersMethodClose
()
internal/overlay/store.go:91
↓ 30 callersMethodGetRepo
(ctx context.Context, name string)
internal/model/types.go:153
↓ 30 callersFunctionnewResolver
(snap *fakeSnapshot, ov *fakeOverlay)
internal/fusefs/merged_test.go:103
↓ 29 callersMethodClose
()
internal/daemon/daemon.go:125
↓ 28 callersFunctiontestStore
(t *testing.T)
internal/overlay/store_test.go:15
↓ 27 callersFunctionNew
(logger *slog.Logger)
internal/gitstore/gitstore.go:52
↓ 27 callersMethodRename
(ctx context.Context, oldPath, newPath string)
internal/model/types.go:186
↓ 24 callersMethodCreateFile
(ctx context.Context, path string, mode uint32)
internal/model/types.go:182
↓ 24 callersFunctionNew
(fetcher BlobFetcher)
internal/hydrator/hydrator.go:54
↓ 24 callersMethodwait
(ctx context.Context)
internal/fusefs/gated_fs.go:25
↓ 23 callersMethodCalls
()
internal/hydrator/hydrator_test.go:602
↓ 22 callersFunctionrunCmd
(t *testing.T, name string, args ...string)
internal/daemon/async_test.go:753
↓ 22 callersFunctionrunGit
(ctx context.Context, gitDir string, args ...string)
internal/gitstore/gitstore.go:847
↓ 21 callersMethodIsDeleted
()
internal/model/types.go:96
↓ 21 callersMethodMkdir
(ctx context.Context, path string, mode uint32)
internal/model/types.go:188
↓ 21 callersFunctionrun
(t *testing.T, dir string, name string, args ...string)
e2e_test.go:79
↓ 20 callersMethodRemove
(ctx context.Context, path string)
internal/model/types.go:185
↓ 19 callersMethodEnsureHydrated
(ctx context.Context, repo RepoConfig, node BaseNode)
internal/model/types.go:198
↓ 19 callersMethodGetNode
(generation int64, path string)
internal/model/types.go:175
↓ 19 callersFunctionNew
(ctx context.Context, root string, logger *slog.Logger)
internal/daemon/daemon.go:86
↓ 18 callersMethodAdd
(generation int64, objectOID string, size int64)
internal/daemon/daemon.go:1097
↓ 18 callersMethodAddRepoWithOptions
(ctx context.Context, cfg model.RepoConfig, opts AddRepoOptions)
internal/daemon/daemon.go:299
↓ 17 callersFunctionreadFileStr
(t *testing.T, path string)
e2e_test.go:480
↓ 16 callersMethodResolveHEAD
(ctx context.Context, repo RepoConfig)
internal/model/types.go:162
↓ 15 callersMethodStart
(ctx context.Context)
internal/daemon/daemon.go:136
↓ 15 callersMethodWait
(ctx context.Context)
internal/fusefs/ready_gate.go:28
↓ 15 callersFunctioncredentialEnv
credentialEnv returns a sanitized URL (safe for ps) and env vars that configure a one-shot git credential helper to supply the real credentials.
internal/gitstore/gitstore.go:877
↓ 14 callersMethodBuildTreeIndex
(ctx context.Context, repo RepoConfig, headOID string)
internal/model/types.go:163
↓ 14 callersMethodScan
(dest ...any)
internal/registry/registry.go:157
↓ 14 callersMethodStop
()
internal/hydrator/hydrator.go:95
↓ 14 callersMethodcloseCachedFilesForPath
(path string)
internal/fusefs/fuse_unix.go:157
↓ 13 callersMethodGeneration
()
internal/fusefs/merged.go:44
↓ 12 callersFunctionNewArtifactFuse
(repo model.RepoConfig, resolver *Resolver, engine *Engine)
internal/fusefs/fuse_unix.go:79
↓ 12 callersMethodReadFile
(ctx context.Context, op *fuseops.ReadFileOp)
internal/fusefs/fuse_unix.go:485
↓ 12 callersFunctionassertGitStatus
(t *testing.T, dir string, want map[string]string)
e2e_git_test.go:399
↓ 11 callersMethodPublishGeneration
(ctx context.Context, headOID string, ref string, nodes []BaseNode)
internal/model/types.go:174
↓ 11 callersMethodResolvePath
(path string)
internal/fusefs/merged.go:54
↓ 11 callersMethodStart
(workers int, repo model.RepoConfig)
internal/hydrator/hydrator.go:82
↓ 10 callersMethodReconcile
(ctx context.Context, baseLookup func(path string) (BaseNode, bool))
internal/model/types.go:190
↓ 10 callersMethodRename
(ctx context.Context, oldPath, newPath string)
internal/fusefs/ops.go:105
↓ 10 callersMethodclose
()
internal/gitstore/gitstore.go:682
↓ 10 callersFunctionnewMountedE2ERepo
(t *testing.T)
e2e_git_test.go:33
↓ 10 callersFunctionnonInteractiveGitEnv
()
internal/gitstore/gitstore.go:1067
↓ 9 callersFunctionNew
(ctx context.Context, path string)
internal/snapshot/store.go:44
↓ 9 callersMethodSetGeneration
(gen int64)
internal/fusefs/merged.go:43
↓ 9 callersMethodVerifyCalls
()
internal/hydrator/hydrator_test.go:614
↓ 9 callersMethodbackingPath
(path string)
internal/overlay/store.go:620
↓ 9 callersMethodheadChanged
(headPath string)
internal/watcher/watcher.go:40
↓ 9 callersFunctioninodeAttrs
(mode uint32, size uint64, typ string, mtime time.Time, ctime time.Time)
internal/fusefs/fuse_unix.go:749
↓ 9 callersMethodrequireInode
(id fuseops.InodeID, missing error)
internal/fusefs/fuse_unix.go:121
↓ 8 callersMethodCloneBlobless
(ctx context.Context, cfg RepoConfig)
internal/model/types.go:158
↓ 8 callersMethodEnsureCopyOnWrite
(ctx context.Context, repo RepoConfig, path string, base BaseNode)
internal/model/types.go:181
↓ 8 callersFunctionHasInlineCredentials
(raw string)
internal/auth/redact.go:72
↓ 8 callersFunctionNewReadyGate
(ready bool)
internal/fusefs/ready_gate.go:19
↓ 8 callersMethodReset
()
internal/fusefs/ready_gate.go:62
↓ 8 callersMethodallocInode
(path, typ string, mode uint32)
internal/fusefs/fuse_unix.go:98
↓ 8 callersMethodread
(ctx context.Context, engine *Engine, off int64, size int)
internal/fusefs/fuse_unix.go:171
↓ 8 callersFunctionreadFileEventually
(t *testing.T, path string)
e2e_git_test.go:555
↓ 8 callersMethodrunPrepare
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:719
↓ 7 callersMethodAddRepo
(ctx context.Context, cfg RepoConfig)
internal/model/types.go:151
↓ 7 callersMethodClose
()
internal/snapshot/store.go:55
↓ 7 callersMethodEnqueue
(task HydrationTask)
internal/model/types.go:196
↓ 7 callersMethodGet
(path string)
internal/overlay/store.go:97
↓ 7 callersFunctionNew
(interval time.Duration)
internal/watcher/watcher.go:17
↓ 7 callersFunctionNewJSONLogger
(w io.Writer, level slog.Level)
internal/logging/logging.go:11
↓ 7 callersMethodQueryRowContext
(ctx context.Context, query string, args ...any)
internal/snapshot/store.go:41
↓ 7 callersFunctionpctIndex
(n, pct int)
bench_test.go:447
↓ 6 callersMethodMarkFailed
(err error)
internal/fusefs/ready_gate.go:94
↓ 6 callersMethodMarkReady
()
internal/fusefs/ready_gate.go:77
↓ 6 callersMethodReadBlobCalls
()
internal/hydrator/hydrator_test.go:608
↓ 6 callersMethodSetMtime
(ctx context.Context, path string, t time.Time)
internal/model/types.go:189
↓ 6 callersMethodStop
()
internal/daemon/daemon.go:1112
↓ 6 callersFunctionattrExpiry
(ttl time.Duration)
internal/fusefs/fuse_unix.go:776
↓ 6 callersMethodfillPaths
(cfg *model.RepoConfig)
internal/daemon/daemon.go:1306
↓ 6 callersFunctiongitCmdResult
(dir string, args ...string)
e2e_git_test.go:435
↓ 6 callersFunctionisRealHost
(host string)
internal/auth/redact.go:174
↓ 6 callersFunctionnameCommand
nameCommand builds a subcommand that takes a --name flag and runs fn.
internal/cli/cli.go:233
↓ 6 callersFunctionsamePrepareConfig
(a model.RepoConfig, b model.RepoConfig)
internal/daemon/daemon.go:269
↓ 6 callersMethodstartPrepareWorker
(ctx context.Context, cfg model.RepoConfig)
internal/daemon/daemon.go:661
↓ 6 callersMethodunmount
(id model.RepoID)
internal/daemon/daemon.go:1271
↓ 6 callersMethodupsertEntry
(ctx context.Context, e model.OverlayEntry)
internal/overlay/store.go:577
↓ 5 callersFunctionClassifyPriority
(path string)
internal/hydrator/hydrator.go:505
↓ 5 callersMethodFetchRefNonInteractive
(ctx context.Context, repo RepoConfig, ref string)
internal/model/types.go:161
↓ 5 callersMethodGetInodeAttributes
(ctx context.Context, op *fuseops.GetInodeAttributesOp)
internal/fusefs/fuse_unix.go:287
↓ 5 callersMethodGetattr
(path string)
internal/fusefs/merged.go:76
↓ 5 callersMethodListChildren
(generation int64, parentPath string)
internal/model/types.go:176
↓ 5 callersFunctionNew
(ctx context.Context, cfg model.RepoConfig)
internal/overlay/store.go:41
↓ 5 callersFunctionOpenDB
(path string)
internal/meta/sqlite.go:13
↓ 5 callersMethodReadBlob
(ctx context.Context, repo model.RepoConfig, objectOID string, maxBytes int64)
internal/hydrator/hydrator.go:19
↓ 5 callersFunctionRun
(ctx context.Context, args []string, stdout io.Writer, stderr io.Writer)
internal/cli/cli.go:21
next →1–100 of 761, ranked by callers