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
Document the Storage API in a docstring on AbstractStore (#151)
* Document the Storage API in a docstring on AbstractStore
We should also put this in the docs, but it's probably a start on what has to happen. Would appreciate reviews/corrections to this since this is only what I could find when skimming the code.
* Push preview docs too
- `Base.getindex(d::AbstractStore, i::AbstractString)`: return the data stored in key `i` as a Vector{UInt8}
21
+
- `Base.setindex!(d::AbstractStore, v, i::AbstractString)`: write the values in `v` to the key `i` of the given store `d`
22
+
23
+
They may optionally implement the following methods:
24
+
25
+
- [`store_read_strategy(s::AbstractStore)`](@ref store_read_strategy): return the read strategy for the given store. See [`SequentialRead`](@ref) and [`ConcurrentRead`](@ref).
0 commit comments