Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use fs.stat to detect directory index #58

Merged
merged 3 commits into from
Dec 5, 2023

Commits on Dec 5, 2023

  1. fix: use fs.stat to detect directory index

    `fs.ls` tells you the type of every directory entry - to do this it
    loads the first block of each entry to parse the unixfs metadata -
    this is obviously a bad idea for very large directories.
    
    Switch to `fs.stat` which only loads the directory entry we are
    interested in.
    achingbrain committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    7e3230f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f049c View commit details
    Browse the repository at this point in the history
  3. chore: update lockfile

    achingbrain committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    5b3a4a8 View commit details
    Browse the repository at this point in the history