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:
Adam Rocska 2020-05-29 20:42:46 +02:00
parent 26a3219960
commit bf5e436499
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
import Foundation
protocol ReaderFileBased: Reader {
var metadata: DbMetadata { get }
}