Skip to content

Releases: discoveryjs/scan-git

0.1.5

Choose a tag to compare

@lahmatiy lahmatiy released this 15 Nov 16:16
  • Fixed "too many open files" errors by limiting concurrent FS operations (#8)
  • Added the maxConcurrency option to customize the concurrency limit for FS operations, with a default value of 50 (#8)
  • Fixed Node.js warnings such as "Warning: Closing file descriptor # on garbage collection", which is deprecated in Node.js 22 and will result in an error being thrown in the future

0.1.4

Choose a tag to compare

@lahmatiy lahmatiy released this 31 Oct 02:30
  • Added repo.currentBranch() method
  • Added repo.describeRef(ref) method, which returns an information object about the reference
  • Added repo.isOid(value) method to check if a value is an object ID
  • Added isGitDir() and resolveGitDir() helper functions
  • Enhanced createGitReader() to automatically attempt adding the .git folder to the provided gitdir path, making explicit inclusion of .git optional

0.1.3

Choose a tag to compare

@lahmatiy lahmatiy released this 13 Oct 10:32
  • Fixed size computation of on-disk reverse index (.rev files)

0.1.2

Choose a tag to compare

@lahmatiy lahmatiy released this 12 Oct 16:51
  • Added getPathEntry() method
  • Added getPathsEntries() method
  • Fixed reading on-disk reverse index (.rev files)

0.1.1

Choose a tag to compare

@lahmatiy lahmatiy released this 19 Feb 19:55
  • Fixed methods for reading loose objects (readObjectHeaderByOid, readObjectHeaderByHash, readObjectByOid
    and readObjectByHash) that were not working in some cases due to incorrect formation of the fanout table when fs.readdir() returns an unsorted list of entries
  • Fixed listRemotes() method to always return a sorted list of remotes
  • Fixed stat() method to return stable results disregarding of fs.readdir()'s result list order

0.1.0

Choose a tag to compare

@lahmatiy lahmatiy released this 12 Sep 19:49
  • Initial release