Class LooseStorage

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(directory: any): LooseStorage

Parameters

  • directory: any

Returns

LooseStorage

Properties

public directory: any

Methods

public find(sha1: any): RawObject

Parameters

  • sha1: any

Returns

RawObject

public get_raw_object(buf: any): RawObject

Parameters

  • buf: any

Returns

RawObject

public is_legacy_loose_object(buf: any): boolean

Parameters

  • buf: any

Returns

boolean

public put_raw_object(content: any, type: any, callback: Function)

Parameters

  • content: any
  • type: any
  • callback: Function

public unpack_object_header_gently(buf: any): Array<any>

Parameters

  • buf: any

Returns

Array<any>

public static verify_header(type: any, size: any)

Parameters

  • type: any
  • size: any