summaryrefslogtreecommitdiff
path: root/src/Erebos/Object.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-10-30 21:42:35 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2024-11-06 21:03:16 +0100
commitd144e1d0b45421d102751cdf584126810ab33ba5 (patch)
treee2e8bb8d068a89ce814d4fdc25ebbebabfdf43a5 /src/Erebos/Object.hs
parentc4ff2f54c52e9ebb1c47aeb79284faf3fcbad4e3 (diff)
Create new Object, Storable and Storage modulesdevel
Changelog: API: Split Erebos.Storage into multiple modules
Diffstat (limited to 'src/Erebos/Object.hs')
-rw-r--r--src/Erebos/Object.hs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Erebos/Object.hs b/src/Erebos/Object.hs
new file mode 100644
index 0000000..26ca09f
--- /dev/null
+++ b/src/Erebos/Object.hs
@@ -0,0 +1,22 @@
+{-|
+Description: Core Erebos objects and references
+
+Data types and functions for working with "raw" Erebos objects and references.
+-}
+
+module Erebos.Object (
+ Object, PartialObject, Object'(..),
+ serializeObject, deserializeObject, deserializeObjects,
+ ioLoadObject, ioLoadBytes,
+ storeRawBytes, lazyLoadBytes,
+
+ RecItem, RecItem'(..),
+
+ Ref, PartialRef, RefDigest,
+ refDigest,
+ readRef, showRef, showRefDigest,
+ refDigestFromByteString, hashToRefDigest,
+ copyRef, partialRef, partialRefFromDigest,
+) where
+
+import Erebos.Object.Internal