MCPcopy Index your code
hub / github.com/coder/coder / InsertFile

Method InsertFile

coderd/database/querier.go:957–957  ·  view source on GitHub ↗
(ctx context.Context, arg InsertFileParams)

Source from the content-addressed store, hash-verified

955 InsertDeploymentID(ctx context.Context, value string) error
956 InsertExternalAuthLink(ctx context.Context, arg InsertExternalAuthLinkParams) (ExternalAuthLink, error)
957 InsertFile(ctx context.Context, arg InsertFileParams) (File, error)
958 InsertGitSSHKey(ctx context.Context, arg InsertGitSSHKeyParams) (GitSSHKey, error)
959 InsertGroup(ctx context.Context, arg InsertGroupParams) (Group, error)
960 InsertGroupMember(ctx context.Context, arg InsertGroupMemberParams) error

Callers 7

postFileMethod · 0.65
InsertFileMethod · 0.65
TestFileMethod · 0.65
FileFunction · 0.65
UploadFileMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestFileMethod · 0.52