RegrowthStudios / Vorb

Regrowth Studios Vorb Engine
MIT License
60 stars 29 forks source link

Path:isNice() #91

Open czaloj opened 8 years ago

czaloj commented 8 years ago

It returns false with drive letters. Add some option for semi-portable path.

ADGDeveloping commented 8 years ago

Would it only return true if the path is local to the game / engine? Examples:

"C:\yourpath\yourfile.txt" -> False "yourpath\yourfile.txt" (Also local to the C drive) -> False / True? "assets\stuff.txt" (Local to the game / engine) -> True

TheJeremail commented 8 years ago

What about the unix(likes)? Could/should we try to normalise the path here?