Open phuicy opened 9 years ago
I have no idea. JS-Git is a set of modules that implement various interfaces, the core interface is the .saveAs, .loadAs, etc calls.
JS-Git can use real git repos as backends using the git-fs backend. There is a concrete implementation using node's FS apis at https://github.com/creationix/git-node-fs
Oh cool.
NodeJS Git Server offers a multi-tenant git server using NodeJS. Thus, it has the outward facing interfaces, and user management. Like a backend to a github clone.
However, if this is easily achieved with js-git and git-node-fs, awesome.
JS-Git is super low level, It can easily read local repos, but it doesn't serve them over network protocols or give you user management APIs.
That's why I would like to use it with a server.
How would I go about implementing js-git with NodeJS Git Server?