docs(util): document pointsToLFS()
This commit is contained in:
parent
7ae6382e89
commit
14be6d8b78
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { constants as fsConstants } from 'fs';
|
||||||
export const LFS_POINTER_PREAMBLE = 'version https://git-lfs.github.com/spec/v1\n';
|
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 {
|
export function pointsToLFS(content: Buffer): boolean {
|
||||||
return (
|
return (
|
||||||
content[0] === 118 // 'v'
|
content[0] === 118 // 'v'
|
||||||
|
|
Loading…
Reference in a new issue