Selfie
|
Public Member Functions | |
__init__ (self) | |
serialize (self, list[str] valueWriter) | |
None | set_at_test_time (self, str key, Snapshot snapshot) |
None | remove_all_indices (self, list[int] indices) |
"SnapshotFile" | parse (cls, SnapshotValueReader value_reader) |
"SnapshotFile" | create_empty_with_unix_newlines (cls, bool unix_newlines) |
Static Public Member Functions | |
writeEntry (list[str] valueWriter, str key, Optional[str] facet, SnapshotValue value) | |
Public Attributes | |
snapshots | |
was_set_at_test_time | |
HEADER_PREFIX | |
Static Public Attributes | |
str | HEADER_PREFIX = "š· " |
str | END_OF_FILE = "[end of file]" |
Definition at line 11 of file SnapshotFile.py.
selfie_lib.SnapshotFile.SnapshotFile.__init__ | ( | self | ) |
Definition at line 15 of file SnapshotFile.py.
"SnapshotFile" selfie_lib.SnapshotFile.SnapshotFile.create_empty_with_unix_newlines | ( | cls, | |
bool | unix_newlines | ||
) |
Definition at line 105 of file SnapshotFile.py.
"SnapshotFile" selfie_lib.SnapshotFile.SnapshotFile.parse | ( | cls, | |
SnapshotValueReader | value_reader | ||
) |
Definition at line 81 of file SnapshotFile.py.
None selfie_lib.SnapshotFile.SnapshotFile.remove_all_indices | ( | self, | |
list[int] | indices | ||
) |
Definition at line 73 of file SnapshotFile.py.
selfie_lib.SnapshotFile.SnapshotFile.serialize | ( | self, | |
list[str] | valueWriter | ||
) |
Definition at line 22 of file SnapshotFile.py.
None selfie_lib.SnapshotFile.SnapshotFile.set_at_test_time | ( | self, | |
str | key, | ||
Snapshot | snapshot | ||
) |
Definition at line 68 of file SnapshotFile.py.
|
static |
Definition at line 39 of file SnapshotFile.py.
|
static |
Definition at line 13 of file SnapshotFile.py.
|
static |
Definition at line 12 of file SnapshotFile.py.
selfie_lib.SnapshotFile.SnapshotFile.HEADER_PREFIX |
Definition at line 87 of file SnapshotFile.py.
selfie_lib.SnapshotFile.SnapshotFile.snapshots |
Definition at line 70 of file SnapshotFile.py.
selfie_lib.SnapshotFile.SnapshotFile.was_set_at_test_time |
Definition at line 71 of file SnapshotFile.py.