This is a thread for me to ask assorted questions about Filesystem related functions (such as GetInternalPath, AddTrailingSlash, etc.) and their usages while working on adding a Path
class to Urho instead of just String
and a handful of functions.
To start things off, why is GetInternalPath
used here and not ResourceCache::SanitateResourceName
?
void AnimationController::FindAnimation(const String& name, unsigned& index, AnimationState*& state) const
{
StringHash nameHash(GetInternalPath(name));
...