MCPcopy Index your code
hub / github.com/RustPython/RustPython / add_folder

Method add_folder

Lib/mailbox.py:1200–1203  ·  view source on GitHub ↗

Create a folder and return an MH instance representing it.

(self, folder)

Source from the content-addressed store, hash-verified

1198 factory=self._factory, create=False)
1199
1200 def add_folder(self, folder):
1201 """Create a folder and return an MH instance representing it."""
1202 return MH(os.path.join(self._path, folder),
1203 factory=self._factory)
1204
1205 def remove_folder(self, folder):
1206 """Delete the named folder, which must be empty."""

Callers 8

test_list_foldersMethod · 0.45
test_get_folderMethod · 0.45
test_folderMethod · 0.45
test_list_foldersMethod · 0.45
test_get_folderMethod · 0.45

Calls 2

MHClass · 0.85
joinMethod · 0.45

Tested by 8

test_list_foldersMethod · 0.36
test_get_folderMethod · 0.36
test_folderMethod · 0.36
test_list_foldersMethod · 0.36
test_get_folderMethod · 0.36