Copy copies a layer of file to its corresponding destination folder. dstMap is a map from src parent ID to dst parent Files.
(ctx context.Context, args *CopyParameter)
| 194 | UpsertMetadata(ctx context.Context, file *ent.File, data map[string]string, privateMask map[string]bool) error |
| 195 | // Copy copies a layer of file to its corresponding destination folder. dstMap is a map from src parent ID to dst parent Files. |
| 196 | Copy(ctx context.Context, args *CopyParameter) (map[int][]*ent.File, StorageDiff, error) |
| 197 | // Delete deletes a group of files (and related models) with given entity recycle option |
| 198 | Delete(ctx context.Context, files []*ent.File, options *types.EntityProps) ([]*ent.Entity, StorageDiff, error) |
| 199 | // StaleEntities returns stale entities of a given file. If ID is not provided, all entities |
no outgoing calls
no test coverage detected