Skip to content

Commit 36b5f97

Browse files
committed
fix: export InvalidSnapshotNameError/isValidSnapshotName
1 parent 47c01e3 commit 36b5f97

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

src/Database/LSMTree.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
module Database.LSMTree (
1111
-- * Exceptions
1212
Common.LSMTreeError (..)
13+
, Common.InvalidSnapshotNameError (..)
1314

1415
-- * Tracing
1516
, Common.LSMTreeTrace (..)
@@ -67,6 +68,7 @@ module Database.LSMTree (
6768

6869
-- * Durability (snapshots)
6970
, SnapshotName
71+
, Common.isValidSnapshotName
7072
, Common.toSnapshotName
7173
, Common.SnapshotLabel (..)
7274
, createSnapshot

src/Database/LSMTree/Common.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Database.LSMTree.Common (
33
IOLike
44
-- * Exceptions
55
, Internal.LSMTreeError (..)
6+
, Internal.InvalidSnapshotNameError (..)
67
-- * Tracing
78
, Internal.LSMTreeTrace (..)
89
, Internal.TableTrace (..)
@@ -24,6 +25,7 @@ module Database.LSMTree.Common (
2425
-- ** Snapshot names
2526
, Internal.SnapshotName
2627
, Internal.toSnapshotName
28+
, Internal.isValidSnapshotName
2729
-- * Blob references
2830
, BlobRef (..)
2931
-- * Table configuration

src/Database/LSMTree/Internal/Paths.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module Database.LSMTree.Internal.Paths (
1717
-- * Snapshot name
1818
, SnapshotName
1919
, isValidSnapshotName
20+
, InvalidSnapshotNameError (..)
2021
, toSnapshotName
2122
-- * Run paths
2223
, RunFsPaths (..)

src/Database/LSMTree/Monoidal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
module Database.LSMTree.Monoidal (
2626
-- * Exceptions
2727
Common.LSMTreeError (..)
28+
, Common.InvalidSnapshotNameError (..)
2829

2930
-- * Tracing
3031
, Common.LSMTreeTrace (..)
@@ -85,6 +86,7 @@ module Database.LSMTree.Monoidal (
8586
-- * Durability (snapshots)
8687
, SnapshotName
8788
, Common.toSnapshotName
89+
, Common.isValidSnapshotName
8890
, Common.SnapshotLabel (..)
8991
, createSnapshot
9092
, openSnapshot

src/Database/LSMTree/Normal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
module Database.LSMTree.Normal (
2525
-- * Exceptions
2626
Common.LSMTreeError (..)
27+
, Common.InvalidSnapshotNameError (..)
2728

2829
-- * Tracing
2930
, Common.LSMTreeTrace (..)
@@ -86,6 +87,7 @@ module Database.LSMTree.Normal (
8687
-- * Durability (snapshots)
8788
, SnapshotName
8889
, Common.toSnapshotName
90+
, Common.isValidSnapshotName
8991
, Common.SnapshotLabel (..)
9092
, createSnapshot
9193
, openSnapshot

0 commit comments

Comments
 (0)