Class PackStorage

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(file: any): PackStorage

Parameters

  • file: any

Returns

PackStorage

Properties

public cache: any

public name: any

public offsets: any

public size: any

public version: any

Methods

public close()

public find(sha1: any): RawObject

Parameters

  • sha1: any

Returns

RawObject

public parse_object(pack: any, offset: any): RawObject

Parameters

  • pack: any
  • offset: any

Returns

RawObject

public unpack_deltified(packfile: any, type: any, offset: any, objOffset: any, size: any, options: any): any

Parameters

  • packfile: any
  • type: any
  • offset: any
  • objOffset: any
  • size: any
  • options: any

Returns

any

public unpack_object(pack: any, packfile: any, offset: any, options: any): Array<any>

Parameters

  • pack: any
  • packfile: any
  • offset: any
  • options: any

Returns

Array<any>