You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#TODO think origin and buildSourceString should be deprecated, description can be used instead
6
+
#TODO hash - maybe use both crc32c for fast error check and sha256 for strong integrity check
7
+
# stored seperately as crc and sha or as a tuple `hash::Tuple{Symbol, String}` where Symbol is :crc32c or :sha256
8
+
# or an enum with suppored hash types
6
9
"""
7
10
$(TYPEDEF)
8
11
@@ -16,9 +19,7 @@ Base.@kwdef struct Blobentry
16
19
""" Remotely assigned and globally unique identifier for the `Blobentry` itself (not the `.blobId`). """
17
20
id::Union{UUID, Nothing}=nothing
18
21
""" Machine friendly and globally unique identifier of the 'Blob', usually assigned from a common point in the system. This can be used to guarantee unique retrieval of the large data blob. """
19
-
blobId::Union{UUID, Nothing}=uuid4() #Deprecated in v0.25 TODO remove union, blobId is mandatory
20
-
""" TBD if Deprecated. Machine friendly and locally assigned identifier of the 'Blob'."""
21
-
originId::Union{UUID, Nothing}= blobId #Deprecated in v0.25 TODO remove union or remove originId completely
22
+
blobId::UUID=uuid4()
22
23
""" Human friendly label of the `Blob` and also used as unique identifier per node on which a `Blobentry` is added. E.g. do "LEFTCAM_1", "LEFTCAM_2", ... of you need to repeat a label on the same variable. """
23
24
label::Symbol
24
25
""" A hint about where the `Blob` itself might be stored. Remember that a Blob may be duplicated over multiple blobstores. """
@@ -28,7 +29,7 @@ Base.@kwdef struct Blobentry
28
29
""" Context from which a Blobentry=>Blob was first created. E.g. agent|graph|varlabel. """
29
30
origin::String=""
30
31
""" number of bytes in blob as a string"""
31
-
size::Union{String, Nothing}="-1"#TODO remove union -> size::String = "-1"
32
+
size::String="-1"
32
33
""" Additional information that can help a different user of the Blob. """
33
34
description::String=""
34
35
""" MIME description describing the format of binary data in the `Blob`, e.g. 'image/png' or 'application/json; _type=CameraModel'. """
0 commit comments