docs: expand, rephrase some docstrings and comments
This commit is contained in:
parent
a71d6dc1f4
commit
1403b87f6b
2 changed files with 5 additions and 2 deletions
|
@ -34,7 +34,7 @@ export default async function downloadBlobFromPointer(
|
|||
? getAuthHeader(auth)
|
||||
: {};
|
||||
|
||||
// Request LFS metadata
|
||||
// Request LFS transfer
|
||||
|
||||
const lfsInfoRequestData = {
|
||||
operation: 'download',
|
||||
|
|
|
@ -2,14 +2,17 @@ import path from 'path';
|
|||
|
||||
|
||||
interface PointerInfo {
|
||||
/** SHA256 hash of the actual blob contents. */
|
||||
oid: string;
|
||||
|
||||
/** Actual blob size in bytes. */
|
||||
size: number;
|
||||
}
|
||||
|
||||
export interface Pointer {
|
||||
info: PointerInfo;
|
||||
|
||||
/** Path to blob in LFS cache. */
|
||||
/** Absolute path to actual blob in LFS cache. */
|
||||
objectPath: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue