WIP RPC code

This commit is contained in:
ansuz
2017-04-28 17:11:50 +02:00
parent 841c9ee9de
commit 28e4ef1b13
17 changed files with 158 additions and 84 deletions

View File

@@ -270,5 +270,10 @@ Version 2
return '/blob/' + id.slice(0,2) + '/' + id;
};
var serializeHash = Hash.serializeHash = function (hash) {
if (hash && hash.slice(-1) !== "/") { hash += "/"; }
return hash;
};
return Hash;
});