Expand description
OBO Format 1.4 patch write-back (ADR-0019).
Re-exports§
pub use idpolicy::parse_id_policy;pub use idpolicy::parse_id_policy_file;pub use idpolicy::parse_id_policy_from_catalog;pub use idpolicy::IdPolicy;pub use idpolicy::IdPolicyError;pub use idpolicy::IdRange;pub use idpolicy::IRI_ALLOCATED_TO;pub use idpolicy::IRI_IDS_FOR;pub use idpolicy::IRI_ID_DIGITS;pub use idpolicy::IRI_ID_PREFIX;pub use obofoundry::parse_registry_json;pub use obofoundry::OboFoundryContact;pub use obofoundry::OboFoundryEntry;pub use obofoundry::OboFoundryError;pub use obofoundry::OboFoundryLicense;pub use obofoundry::OboFoundryRegistry;
Modules§
- idpolicy
- OBO idranges policy parse (Protégé
IdRangesPolicyParserbehavioral port). - obofoundry
- OBO Foundry registry JSON model (Protégé Wave 3 port).
Structs§
Enums§
- OboError
- OboPatch
Op - OBO patch operation (ADR-0019).
Functions§
- apply_
patches - apply_
patches_ to_ text - atomic_
write - Atomically replace
pathwithcontents, preserving existing permission bits (#422). - merge_
obo_ id_ in_ text - Merge
merge_idintokeep_id: remove the merge stanza, then remap remaining references. - remap_
obo_ id_ in_ text - Remap
from_id→to_idin an OBO document (id lines and common reference tags). - replace_
obo_ id_ refs_ in_ text - Replace references to
from_idwithto_idwithout rewriting anyid:line.