Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
validateTempEntity :: Hash32 -> TempEntity -> Maybe EntityValidationError Source #
Note: We currently only validate Namespace hashes. We should add more validation as more entities are shared.