Filebased readers have a metadata property. Exposing it, and exposing the DbMetadata concept overaall.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
This commit is contained in:
parent
26a3219960
commit
bf5e436499
|
@ -1,4 +1,6 @@
|
|||
import Foundation
|
||||
import Index
|
||||
import enum Index.IpAddress
|
||||
import struct Metadata.Metadata
|
||||
|
||||
public typealias IpAddress = Index.IpAddress
|
||||
public typealias DbMetadata = Metadata
|
|
@ -0,0 +1,5 @@
|
|||
import Foundation
|
||||
|
||||
protocol ReaderFileBased: Reader {
|
||||
var metadata: DbMetadata { get }
|
||||
}
|
Loading…
Reference in New Issue