
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@marionebl/git-fs-repo
Advanced tools
filesystem-backed read-only git repository object.
ties together all of the fs-based ODB backends, and the ref discovery mechanism.
var load = require('git-fs-repo')
load('/path/to/repository/.git', function(err, git) {
var head = git.ref('HEAD').hash
git.find(head, function(err, obj) {
})
})
Load a git repository from dir. ready will be
called with the error (if any), and the repository
object.
Lookup a git object from the backends. Hash must be either a 40-character hexadecimal string, or a 20-byte Buffer.
If no object was found, there will be no error, but also no data.
If there was an error in any of the backends, it will be propagated
as err.
NB: find is tightly bound to the repository object, since so
many other git-* projects rely on having a find function provided.
So instead of doing:
var walk = require('git-walk-tree')
, repo = /* some repo */0;
walk(find, head_commit)
function find(oid, ready) {
return repo.find(oid, ready)
}
You can do:
var walk = require('git-walk-tree')
, repo = /* some repo */0;
walk(repo.find, head_commit)
Lookup a reference by name. If follow is true or not given, it will dereference any intermediary symbolic references (i.e., refs that point at other refs.)
Return all references. If follow is true or not given, it will dereference symbolic links, and the returned list will include only one reference per unique hash.
MIT
FAQs
filesystem backed git repository
The npm package @marionebl/git-fs-repo receives a total of 5 weekly downloads. As such, @marionebl/git-fs-repo popularity was classified as not popular.
We found that @marionebl/git-fs-repo 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.