Skip to content

DirectoryEntry

🛈 DocStrings

Directory entry model for detailed listings.

Source code in src/anyenv/os_commands/models.py
@dataclass
class DirectoryEntry:
    """Directory entry model for detailed listings."""

    name: str
    path: str
    type: Literal["file", "directory", "link"]
    size: int
    timestamp: str | None = None
    permissions: str | None = None

:fa-brands-github: Show source on GitHub