@acastellon/vcs 中文文档教程
vcs
来自文件内容的简单哈希生成器。 这个想法是用它来拥有一个基于文件内容的实时控制版本, 有时您需要在不访问容器/代码的情况下检查 hot web 服务很有用。
用法:
const vcs = require('@acastellon/vcs');
vcs.getHash('./test.js')
.then( function(value) {
console.log(value);
});
vcs
Simple Hash generator from the content of a file. The idea is to use it to have a real-time version of control based in the content of the file, sometimes it's useful you need to check webservices in hot without access to the container/code.
usage:
const vcs = require('@acastellon/vcs');
vcs.getHash('./test.js')
.then( function(value) {
console.log(value);
});