Class FileIndex

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(repoPath: any, callback: Function): FileIndex

Parameters

  • repoPath: any
  • callback: Function

Returns

FileIndex

Properties

public all_files: any

public commit_index: any

public commit_order: any

public index_file: any

public repo_path: any

public sha_count: any

Methods

public commits_for(file: any, callback: Function)

Parameters

  • file: any
  • callback: Function

public commits_from(commitSha: any, callback: Function)

Parameters

  • commitSha: any
  • callback: Function

public count(commitSha: any, callback: Function)

Parameters

  • commitSha: any
  • callback: Function

public count_all(callback: Function)

Parameters

  • callback: Function

public files(commitSha: any, callback: Function)

Parameters

  • commitSha: any
  • callback: Function

public last_commits(commitSha: any, filesMatcher: any, callback: Function)

Parameters

  • commitSha: any
  • filesMatcher: any
  • callback: Function

public sort_commits(shaArray: Array<any>): Array<any>

Parameters

  • shaArray: Array<any>

Returns

Array<any>