Compare commits

...

4 commits

Author SHA1 Message Date
Cat /dev/Nulo fed4e879aa 0.2.4 2022-12-08 17:00:31 -03:00
Cat /dev/Nulo c43279bcf4 Add empty line at end of pointer as required by spec 2022-12-08 17:00:17 -03:00
Cat /dev/Nulo 10a0dcc8d4 0.2.3 2022-12-07 21:20:50 -03:00
Cat /dev/Nulo 587a165c4f Export formatPointerInfo 2022-12-07 21:20:41 -03:00
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@nulo/isogit-lfs",
"version": "0.2.2",
"version": "0.2.4",
"description": "LFS helpers for Isomorphic Git",
"main": "src/index.ts",
"repository": "git@github.com:riboseinc/isogit-lfs.git",

View file

@ -1,5 +1,4 @@
export { default as downloadBlobFromPointer } from "./download";
export { default as populateCache } from "./populateCache";
export { readPointer } from "./pointers";
export { readPointer, formatPointerInfo } from "./pointers";
export { default as uploadBlob } from "./upload";

View file

@ -74,6 +74,7 @@ export function formatPointerInfo(info: PointerInfo): Buffer {
`version ${SPEC_URL}`,
`oid sha256:${info.oid}`,
`size ${info.size}`,
"",
];
return Buffer.from(lines.join("\n"));
}