MCPcopy Create free account
hub / github.com/RainingComputers/whipFTP / create_dir

Method create_dir

whipFTP.py:771–781  ·  view source on GitHub ↗
(self, ftpController, dir_name)

Source from the content-addressed store, hash-verified

769 self.process_thread_requests()
770
771 def create_dir(self, ftpController, dir_name):
772 try:
773 #Deselect everything
774 thread_request_queue.put(lambda:self.selected_file_indices.clear())
775 ftpController.mkd(dir_name)
776 #update file list and redraw icons
777 thread_request_queue.put(lambda:self.cont_wait())
778 thread_request_queue.put(lambda:self.update_file_list())
779 except:
780 thread_request_queue.put(lambda:self.update_status_red('Unable to create folder, either invalid characters or not having permission may be the reason or directory already exists.'))
781 thread_request_queue.put(lambda:self.lock_status_bar())
782
783
784 def upload_window(self):

Callers

nothing calls this directly

Calls 5

cont_waitMethod · 0.95
update_file_listMethod · 0.95
update_status_redMethod · 0.95
lock_status_barMethod · 0.95
mkdMethod · 0.45

Tested by

no test coverage detected