metafile_read.go raw

   1  package iskra
   2  
   3  import "git.smesh.lol/go-iskra/lattice"
   4  
   5  // ReadMetaFile is lattice.DecodeMetaFile, named here so the storage layer reads
   6  // its companions through one function.
   7  func ReadMetaFile(path string) (*lattice.MetaFile, error) {
   8  	return lattice.DecodeMetaFile(path)
   9  }
  10