MCPcopy Index your code
hub / github.com/dagger/dagger / File

Method File

cmd/dagger/shell_fs.go:149–149  ·  view source on GitHub ↗

File returns a File object for the given subpath

(dag *dagger.Client, subpath string)

Source from the content-addressed store, hash-verified

147
148 // File returns a File object for the given subpath
149 File(dag *dagger.Client, subpath string) *dagger.File
150}
151
152type localSourceContext struct {

Callers 15

GitReadmeMethod · 0.65
NestedCallsMethod · 0.65
GetFilesMethod · 0.65
AgentMethod · 0.65
ReadFileMethod · 0.65
EditFileMethod · 0.65
TaskMethod · 0.65
reminderPromptMethod · 0.65
PrometheusMethod · 0.65
ReportMethod · 0.65
WithSystemPromptMethod · 0.65
WithDocsMethod · 0.65

Implementers 2

localSourceContextcmd/dagger/shell_fs.go
gitSourceContextcmd/dagger/shell_fs.go

Calls

no outgoing calls

Tested by 15

TestFindUpMethod · 0.52
TestFileMethod · 0.52
TestFileCacheBehaviorMethod · 0.52
TestInitMethod · 0.52
TestWithUnixSocketMethod · 0.52
TestFileMethod · 0.52
TestContentsLinesMethod · 0.52
TestNewFileMethod · 0.52
TestChownLookupMethod · 0.52
TestNewFileInvalidMethod · 0.52