Type

source: bluebase/pf/type.py


class PfPageId[source]

Bases: int

An ID for a page.

classmethod first() → Self[source]

Return the first page ID.

succ() → Self[source]

Return the next page ID.

class PfPageData[source]

Bases: bytearray

A data buffer for a page.

classmethod new(size: int) → Self[source]

Create a new data buffer for a page.

class PfFileId(*args, **kwargs)[source]

Bases: Path

An ID for a file.

classmethod new(path: Path | str) → Self[source]

Create a new file ID.

dataclassclass PfEntryId(fid: PfFileId, pid: PfPageId)[source]

Bases: object

An ID for an entry in the page cache.

Variables: