feat(blob): add more bindings and API methods

This commit is contained in:
Aleksey Kulikov 2021-12-20 17:53:57 +03:00
parent 39a71811cb
commit 64f0d15f2d
423 changed files with 1076 additions and 39 deletions

View file

@ -25,6 +25,8 @@ void copyRepo({required Directory from, required Directory to}) {
} else if (entity is File) {
if (p.basename(entity.path) == 'gitignore') {
entity.copySync(p.join(to.path, '.gitignore'));
} else if (p.basename(entity.path) == 'gitattributes') {
entity.copySync(p.join(to.path, '.gitattributes'));
} else {
entity.copySync(p.join(to.path, p.basename(entity.path)));
}