{"version":"1.0","type":"rich","title":"Walk the git tree in pure js","description":"This example walks a Git repository’s object graph, streaming commits, trees, and blobs as they are encountered. It loads the repository with `git-fs-repo`, resolves the HEAD commit via `git.ref('HEAD').hash`, then uses `git-walk-tree` to traverse the commit’s tree hierarchy. Each visited object is logged with `util.inspect`, showing its type and structure, and the code includes commented examples for filtering tree members or dumping blob data. The traversal relies on `git.find.bind(git)` as the lookup callback, demonstrating a pure-JavaScript pipeline from raw `.git` files to parsed objects.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5758838?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}