({ size, sha }: PointerFile)
| 83 | ]); |
| 84 | |
| 85 | export function createPointerFile({ size, sha }: PointerFile) { |
| 86 | return `\ |
| 87 | version https://git-lfs.github.com/spec/v1 |
| 88 | oid sha256:${sha} |
| 89 | size ${size} |
| 90 | `; |
| 91 | } |
| 92 | |
| 93 | export async function getPointerFileForMediaFileObj( |
| 94 | client: { uploadResource: (pointer: PointerFile, resource: Blob) => Promise<string> }, |
no outgoing calls
no test coverage detected