docs(util): document pointsToLFS()

This commit is contained in:
Anton Strogonoff 2021-11-30 21:52:45 +01:00
parent 7ae6382e89
commit 14be6d8b78

View file

@ -4,6 +4,7 @@ import { constants as fsConstants } from 'fs';
export const LFS_POINTER_PREAMBLE = 'version https://git-lfs.github.com/spec/v1\n';
/** Returns true if given blob represents an LFS pointer. */
export function pointsToLFS(content: Buffer): boolean {
return (
content[0] === 118 // 'v'