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

Dirlist #3

Closed
wants to merge 4 commits into from
Closed

Dirlist #3

wants to merge 4 commits into from

Conversation

andre-d
Copy link

@andre-d andre-d commented May 25, 2012

I don't really expect you to pull this, but here is the (working) dir traversing version.

@andre-d
Copy link
Author

andre-d commented May 25, 2012

I am unsure if doing it C style with strtok would save many lines...maybe....Either way, proof of concept, doesn't have to be amazing code :P

@andre-d
Copy link
Author

andre-d commented May 25, 2012

Actually, since we know the original path and the new path should be the exact same length....you should be able to save a bunch of lines by just copying the old path and writing over the characters where the case is different (rather than constructing a new path).

edit: And then there would be less string concatenation/etc

@andre-d andre-d closed this May 25, 2012
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.

None yet

1 participant