(ctx context.Context, tool, dstDirPath, dstName string, fileSize int64, overwrite bool)
| 111 | } |
| 112 | |
| 113 | func getDirectUploadInfo(ctx context.Context, tool, dstDirPath, dstName string, fileSize int64, overwrite bool) (any, error) { |
| 114 | storage, dstDirActualPath, err := op.GetStorageAndActualPath(dstDirPath) |
| 115 | if err != nil { |
| 116 | return nil, errors.WithMessage(err, "failed get storage") |
| 117 | } |
| 118 | return op.GetDirectUploadInfo(ctx, tool, storage, dstDirActualPath, dstName, fileSize, overwrite) |
| 119 | } |
no test coverage detected