jahwag / ClaudeSync

ClaudeSync is a Python tool that automates the synchronization of local files with Claude.ai Projects
MIT License
165 stars 24 forks source link

Don't traverse directories that are excluded #44

Closed trippd6 closed 1 month ago

trippd6 commented 1 month ago

The current code traverses the entire directory tree and checks each file against the exclude list.

This pull request checks each directory against the excluded list and skips them.

This improves start up times when there are large directory trees excluded. This is common in javascript/node projects that have a lot of dependencies.

I dont actually know what I'm doing in python. Claude wrote this. It seems to work correctly on my machine.

trippd6 commented 1 month ago

pulled latest changes from jahwag:master.