Skip to content

feat: attach path to fs::read_dir errors#103

Merged
jrmoulton merged 1 commit intojrmoulton:mainfrom
nathanregner:main
May 19, 2024
Merged

feat: attach path to fs::read_dir errors#103
jrmoulton merged 1 commit intojrmoulton:mainfrom
nathanregner:main

Conversation

@nathanregner
Copy link
Contributor

My use case is probably a bit niche, but I store most of my git repos in a separate case-sensitive APFS volume on my Mac. There are a number of directories created by the system that are unreadable by my user (like .fseventsd). I can work around it by adding entries to excluded_dirs, but this makes it easier to tell what's going on 😄

Error: IO Error
├╴at src/repos.rs:88:18
├╴Could not read directory "/Volumes/dev/.fseventsd"
│
╰─▶ Permission denied (os error 13)
    ╰╴at src/repos.rs:88:18

@jrmoulton
Copy link
Owner

Looks great. Thanks!

@jrmoulton jrmoulton merged commit bc2440c into jrmoulton:main May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants