({ size, sha }: PointerFile)
| 91 | ]); |
| 92 | |
| 93 | export function createPointerFile({ size, sha }: PointerFile) { |
| 94 | return `\ |
| 95 | version https://git-lfs.github.com/spec/v1 |
| 96 | oid sha256:${sha} |
| 97 | size ${size} |
| 98 | `; |
| 99 | } |
| 100 | |
| 101 | export async function getPointerFileForMediaFileObj( |
| 102 | client: { uploadResource: (pointer: PointerFile, resource: Blob) => Promise<string> }, |
no outgoing calls
no test coverage detected