Skip to main content

Crate strixonomy_obo

Crate strixonomy_obo 

Source
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é IdRangesPolicyParser behavioral port).
obofoundry
OBO Foundry registry JSON model (Protégé Wave 3 port).

Structs§

ApplyPatchResult
PatchDiagnostic

Enums§

OboError
OboPatchOp
OBO patch operation (ADR-0019).

Functions§

apply_patches
apply_patches_to_text
atomic_write
Atomically replace path with contents, preserving existing permission bits (#422).
merge_obo_id_in_text
Merge merge_id into keep_id: remove the merge stanza, then remap remaining references.
remap_obo_id_in_text
Remap from_idto_id in an OBO document (id lines and common reference tags).
replace_obo_id_refs_in_text
Replace references to from_id with to_id without rewriting any id: line.

Type Aliases§

Result