elharo commented on PR #552:
URL: https://github.com/apache/commons-io/pull/552#issuecomment-1878704098

   You've pointed to existing bad API design. getFullPathNoEndSeparator("C:") 
should return "" if the argument is a Unix path and "C:" if that path is a 
Windows path. Of course, it's just a string, and we have no way of knowing 
whether that's a Windows path or a Posix path. In this case, best guess is 
Windows since "C:" is very common in Windows and very uncommon on Unix, but 
it's still a guess. Possibly we should deprecate this method and rethink the 
API here. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to