Subject: Re: FUSE fs for git.

From: Eric Wong <[email-masked]>
Date: Thu, 25 Feb 2021 05:32:40 +0000

Stef Bon <[email-masked]> wrote:
> - is there an api I can use (lowlevel and/or highlevel or whatever is
> available)?

I've used "git cat-file --batch" in many places via pipes.
Git.pm provides a convenient interface for it.
It handles requests like "$REFNAME:$PATHNAME" so it'd be
pretty easy to map FS-like paths to it.

"git fast-import" is also nice if you need write access and
nowadays has "cat-blob" functionality similar to the
aforementioned --batch.