MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / CreateBulk

Method CreateBulk

ent/client.go:848–850  ·  view source on GitHub ↗

CreateBulk returns a builder for creating a bulk of File entities.

(builders ...*FileCreate)

Source from the content-addressed store, hash-verified

846
847// CreateBulk returns a builder for creating a bulk of File entities.
848func (c *FileClient) CreateBulk(builders ...*FileCreate) *FileCreateBulk {
849 return &FileCreateBulk{config: c.config, builders: builders}
850}
851
852// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
853// a builder and applies setFunc on it.

Callers 5

CopyMethod · 0.45
UpsertMetadataMethod · 0.45
CreateFileMethod · 0.45
CreateFolderMethod · 0.45
CreateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected