No description, website, or topics provided.
C++ C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.txt
casecorrectpath.cpp
casecorrectpath.h
test.cpp

README.txt

This code simulates a case-sensitive file system on a case-insensitive one. If you need the opposite, try http://github.com/OneSadCookie/fcaseopen

// Takes an input_path that is known to exist // e.g. "DaTa/fILE.zIP"
// Fills correct_case with the true file path case // e.g. "Data/File.zip"
// Returns whether or not input_path == correct_case
bool IsPathCaseCorrect(const std::string& input_path, std::string *correct_case);

MIT license.