MCPcopy Create free account
hub / github.com/chatmail/core / select_config_folder

Method select_config_folder

python/src/deltachat/direct_imap.py:66–75  ·  view source on GitHub ↗

Return info about selected folder if it is configured, otherwise None.

(self, config_name: str)

Source from the content-addressed store, hash-verified

64 return self.conn.folder.set(foldername)
65
66 def select_config_folder(self, config_name: str):
67 """Return info about selected folder if it is
68 configured, otherwise None.
69 """
70 if "_" not in config_name:
71 config_name = f"configured_{config_name}_folder"
72 foldername = self.account.get_config(config_name)
73 if foldername:
74 return self.select_folder(foldername)
75 return None
76
77 def list_folders(self) -> List[str]:
78 """return list of all existing folder names."""

Callers 2

test_connectivityFunction · 0.45

Calls 2

select_folderMethod · 0.95
get_configMethod · 0.45

Tested by 2

test_connectivityFunction · 0.36