The getFileName getter of FileWrapper is kind of misleading, since it returns the full file path instead of just the file's name. In order to not break projects having a dependency on this method, I added a method called getName which returns the actual filename.
Maybe the two can be swapped in a future major release, which would make it clear to users that some things in the API have been changed.
The
getFileName
getter ofFileWrapper
is kind of misleading, since it returns the full file path instead of just the file's name. In order to not break projects having a dependency on this method, I added a method calledgetName
which returns the actual filename.Maybe the two can be swapped in a future major release, which would make it clear to users that some things in the API have been changed.