@es-git/walkers-mixin
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "@es-git/walkers-mixin", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -30,3 +30,6 @@ # walkers-mixin | ||
} | ||
for await(const file of repo.walkTree(await repo.getRef('refs/heads/master'))){ | ||
for await(const fileOrFolder of repo.walkTree(await repo.getRef('refs/heads/master'))){ | ||
console.log(fileOrFolder.path.join('/')); | ||
} | ||
for await(const file of repo.listFiles(await repo.getRef('refs/heads/master'))){ | ||
console.log(file.path.join('/')); | ||
@@ -43,3 +46,4 @@ } | ||
walkCommits(...hash : Hash[]) : AsyncIterableIterator<HashAndCommitObject> | ||
walkTree(hash : Hash, iterateFolders? : boolean) : AsyncIterableIterator<HashModePath> | ||
walkTree(hash : Hash) : AsyncIterableIterator<HashModePath> | ||
listFiles(hash: Hash): AsyncIterableIterator<HashModePath> | ||
} | ||
@@ -46,0 +50,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80763
61