git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

glacier.d.ts (562B)


      1 /// <reference types="node" />
      2 
      3 import {Service} from '../service';
      4 
      5 export class GlacierCustomizations extends Service {
      6     /**
      7      * Computes the SHA-256 linear and tree hash checksums for a given
      8      * block of Buffer data. Pass the tree hash of the computed checksums
      9      * as the checksum input to the {completeMultipartUpload} when performing
     10      * a multi-part upload.
     11      */
     12     computeChecksums(data: Buffer|string): GlacierComputeChecksumsOutput;
     13 }
     14 
     15 export interface GlacierComputeChecksumsOutput {
     16     linearHash: string;
     17     treeHash: string;
     18 }