(ctx context.Context, dstDirPath string, file model.FileStreamer)
| 117 | } |
| 118 | |
| 119 | func PutAsTask(ctx context.Context, dstDirPath string, file model.FileStreamer) (task.TaskExtensionInfo, error) { |
| 120 | t, err := putAsTask(ctx, dstDirPath, file) |
| 121 | if err != nil { |
| 122 | log.Errorf("failed put %s: %+v", dstDirPath, err) |
| 123 | } |
| 124 | return t, err |
| 125 | } |
| 126 | |
| 127 | func ArchiveMeta(ctx context.Context, path string, args model.ArchiveMetaArgs) (*model.ArchiveMetaProvider, error) { |
| 128 | meta, err := archiveMeta(ctx, path, args) |