![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
atom-libgit2-log-utils
Advanced tools
Simple utility functions for fetching git history using libgit2
Simple utility functions for fetching git history using libgit2.
npm install libgit2-log-utils
Like stupid simple (from bin/getLogJson):
LogUtils = require('libgit2-log-utils')
LogUtils.getCommitHistory("myPath/maybeMyFile")
.then(function(history) {
return console.log(JSON.stringify(history, null, 2));
})
.catch(function(error) {
return console.error(error);
});
...will produce...
[
{
"id": "233b26b3a1e212e50693e2e41f2252afa7ebf16d",
"author": "Bee",
"authorDate": 1461978358000,
"message": "output linesAdded and linesDeleted for each file",
"body": "",
"hash": "233b26b3a1e212e50693e2e41f2252afa7ebf16d",
"linesAdded": 35,
"linesDeleted": 15,
"files": [
{
"path": "package.json",
"linesAdded": 3,
"linesDeleted": 1
},
{
"path": "src/libgit2-log-utils.coffee",
"linesAdded": 31,
"linesDeleted": 13
},
{
"path": "test/scripts/getLogJson.coffee",
"linesAdded": 1,
"linesDeleted": 1
}
]
},
{
"id": "more like the above ..."
}
]
The getCommitHistory() method will accept a file or directory and can also handle absolute (full path) path specifications.
FAQs
Simple utility functions for fetching git history using libgit2 built for the Atom editor
The npm package atom-libgit2-log-utils receives a total of 1 weekly downloads. As such, atom-libgit2-log-utils popularity was classified as not popular.
We found that atom-libgit2-log-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.