You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
This utility function "canonicalizes" paths by making sure paths pointing to folders don't end in a trailing slash. However, the canonical format of NativeFileSystem.DirectoryEntry (and thus most paths in the Brackets code), is the opposite of this -- directories always have a trailing slash.
Looking at references to this API, it appears to only be used by code related to Recent Projects. Perhaps we should clean up that code and then remove this API?
The text was updated successfully, but these errors were encountered:
This was deprecated as part of the FileSystem migration. Assigning to me to track eventually removing it (along with the other deprecated FS-related APIs - #6127).
peterflynn
changed the title
FileUtils.canonicalizeFolderPath() is confusing
FileUtils.canonicalizeFolderPath() is confusing (now deprecated - need to remove)
Apr 23, 2014
This utility function "canonicalizes" paths by making sure paths pointing to folders don't end in a trailing slash. However, the canonical format of NativeFileSystem.DirectoryEntry (and thus most paths in the Brackets code), is the opposite of this -- directories always have a trailing slash.
Looking at references to this API, it appears to only be used by code related to Recent Projects. Perhaps we should clean up that code and then remove this API?
The text was updated successfully, but these errors were encountered: