diff -r aa1bcb26b4b7 -r a4fd43ac7923 src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py --- a/src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py Tue Nov 05 10:41:51 2024 +0100 +++ b/src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py Wed Nov 06 09:04:03 2024 +0100 @@ -583,6 +583,18 @@ return accessOK + def isEmpty(self, name): + """ + Public method to check, if the given name is empty (i.e. just the remote + name indicator). + + @param name file or directory path to be checked + @type str + @return flag indicating an empty path + @rtype bool + """ + return not bool(FileSystemUtilities.plainFileName(name)) + def mkdir(self, directory, mode=0o777): """ Public method to create a new directory on the eric-ide server.