module Unison.Codebase.Branch.Raw where
import Data.Map (Map)
import Unison.Codebase.Metadata qualified as Metadata
import Unison.Hash (Hash)
import Unison.Hash qualified as Hash
import Unison.NameSegment (NameSegment)
import Unison.Reference (Reference)
import Unison.Referent (Referent)
type Star r n = Metadata.Star r n
type EditHash = Hash.Hash
data Raw = Raw
{ Raw -> Star Referent NameSegment
_termsR :: Star Referent NameSegment,
Raw -> Star Reference NameSegment
_typesR :: Star Reference NameSegment,
Raw -> Map NameSegment Hash
_childrenR :: Map NameSegment Hash,
Raw -> Map NameSegment Hash
_editsR :: Map NameSegment EditHash
}