add repository access control

master
cyl19970726 2 years ago
parent 3f8d95b74f
commit 0c02ecc79c

@ -11,6 +11,7 @@ GitRemoteHelper({
api: {
init: async (p: ApiBaseParams) => {
const protocol = await parseGit3URI(p.remoteUrl)
// init storage according to the protocol
const storage = new protocol.storageClass(protocol)
git = new Git(p, storage)
return

Loading…
Cancel
Save