Releases: discoveryjs/scan-git
Releases · discoveryjs/scan-git
0.1.5
- Fixed "too many open files" errors by limiting concurrent FS operations (#8)
- Added the
maxConcurrencyoption 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
- 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()andresolveGitDir()helper functions - Enhanced
createGitReader()to automatically attempt adding the.gitfolder to the providedgitdirpath, making explicit inclusion of.gitoptional
0.1.3
0.1.2
0.1.1
- Fixed methods for reading loose objects (
readObjectHeaderByOid,readObjectHeaderByHash,readObjectByOid
andreadObjectByHash) that were not working in some cases due to incorrect formation of the fanout table whenfs.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 offs.readdir()'s result list order