Skip to main content

find_provider_pack_source

Function find_provider_pack_source 

Source
pub fn find_provider_pack_source(
    provider_id: &str,
    domain: &str,
    bundle_abs: &Path,
) -> Option<PathBuf>
Expand description

Search known locations for a provider pack file.

Search order:

  1. Sibling bundle directories: ../<bundle>/providers/<domain>/<id>.gtpack
  2. Build output: ../greentic-messaging-providers/target/packs/<id>.gtpack