feat(blob): add more bindings and API methods (#21)

This commit is contained in:
Aleksey Kulikov 2021-12-20 18:02:53 +03:00 committed by GitHub
parent 39a71811cb
commit e6bfdc5a85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)));
}