Skip to content

Releases: discoveryjs/scan-git

0.1.5

15 Nov 16:16
Compare
Choose a tag to compare
  • 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

31 Oct 02:30
Compare
Choose a tag to compare
  • 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

13 Oct 10:32
Compare
Choose a tag to compare
  • Fixed size computation of on-disk reverse index (.rev files)

0.1.2

12 Oct 16:51
Compare
Choose a tag to compare
  • Added getPathEntry() method
  • Added getPathsEntries() method
  • Fixed reading on-disk reverse index (.rev files)

0.1.1

19 Feb 19:55
Compare
Choose a tag to compare
  • 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

12 Sep 19:49
Compare
Choose a tag to compare
  • Initial release