src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py

branch
eric7
changeset 11040
a4fd43ac7923
parent 10949
2057b1b198a5
child 11090
f5f5f5803935
equal deleted inserted replaced
11039:aa1bcb26b4b7 11040:a4fd43ac7923
580 ) 580 )
581 581
582 loop.exec() 582 loop.exec()
583 583
584 return accessOK 584 return accessOK
585
586 def isEmpty(self, name):
587 """
588 Public method to check, if the given name is empty (i.e. just the remote
589 name indicator).
590
591 @param name file or directory path to be checked
592 @type str
593 @return flag indicating an empty path
594 @rtype bool
595 """
596 return not bool(FileSystemUtilities.plainFileName(name))
585 597
586 def mkdir(self, directory, mode=0o777): 598 def mkdir(self, directory, mode=0o777):
587 """ 599 """
588 Public method to create a new directory on the eric-ide server. 600 Public method to create a new directory on the eric-ide server.
589 601

eric ide

mercurial