-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace serializer with extension nomenclature (#95)
* wip: refactor extension * wip: further rename serializer to extension * docs: update readme * wip: mark test location as abstract * wip: replace snapshot file with cache naming * wip: combine read, write functions * wip: rename delete * wip: replace snapshot file with cache naming * wip: write snapshot cache name * wip: reorder and encapsulate methods * wip: move snapshot discovery into snapshot cacher * wip: apply suggestions from code review * wip: lint * refactor: use extension and force kwarg * wip: rename raw single to single file * wip: fossilizer * wip: rename cache to fossil * wip: add doc string for snapshot fossil
- Loading branch information
Noah
authored
Jan 11, 2020
1 parent
cb17855
commit 13dd118
Showing
19 changed files
with
428 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
SNAPSHOT_DIRNAME = "__snapshots__" | ||
SNAPSHOT_EMPTY_FILE_KEY = "empty snapshot file" | ||
SNAPSHOT_UNKNOWN_FILE_KEY = "unknown snapshot file" | ||
SNAPSHOT_EMPTY_FOSSIL_KEY = "empty snapshot fossil" | ||
SNAPSHOT_UNKNOWN_FOSSIL_KEY = "unknown snapshot fossil" | ||
|
||
EXIT_STATUS_FAIL_UNUSED = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .amber import AmberSnapshotExtension | ||
|
||
|
||
DEFAULT_EXTENSION = AmberSnapshotExtension |
Oops, something went wrong.