Create the directory the L{FilePath} refers to. @see: L{makedirs} @raise OSError: If the directory cannot be created.
(self)
| 1602 | return cmp(self.path, other.path) |
| 1603 | |
| 1604 | def createDirectory(self) -> None: |
| 1605 | """ |
| 1606 | Create the directory the L{FilePath} refers to. |
| 1607 | |
| 1608 | @see: L{makedirs} |
| 1609 | |
| 1610 | @raise OSError: If the directory cannot be created. |
| 1611 | """ |
| 1612 | os.mkdir(self.path) |
| 1613 | |
| 1614 | def requireCreate(self, val: bool = True) -> None: |
| 1615 | """ |
no outgoing calls