unison-share-api-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Sync.EntityValidation

Description

Module for validating hashes of entities received/sent via sync.

Synopsis

Documentation

validateEntity :: Hash32 -> Entity Text Hash32 Hash32 -> Maybe EntityValidationError Source #

Note: We currently only validate Namespace hashes. We should add more validation as more entities are shared.