Skip to main content

is_already_configured

Function is_already_configured 

Source
pub fn is_already_configured(target: &ConfigTarget) -> bool
Expand description

Check whether seshat is already present in the target’s config.

  • JSON files: parse and check the appropriate key.
  • JSONC files: text search for "seshat": (key assignment, not value).
  • Non-existent files: false.