EmptyDir
A sentinel :class:Dir representing 'no directory was produced'.
Attributes
| Attribute | Type | Description |
|---|---|---|
| path | string = _EMPTY_DIR_SENTINEL | Sentinel path value used to identify the directory as empty during serialization and deserialization. |
| name | string | The display name of the directory, which defaults to an empty string for this sentinel class. |
Constructor
Signature
def EmptyDir(
**data: Any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| **data | Any | Arbitrary keyword arguments passed to the parent Dir constructor, with 'path' and 'name' being specifically managed. |
Signature
def EmptyDir(
**data: Any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| **data | Any | Arbitrary keyword arguments passed to the parent Dir constructor, though 'path' and 'name' are overridden or defaulted to sentinel values. |