Skip to main content

parse_plugin_header_from_file

Function
This function is defined in the plugins module.
Parse plugin header from file

Signature

def parse_plugin_header_from_file(path: &Path) -> Result<PluginMetadata, PluginParseError>

Parameters

path
&Path
required
No description available.

Returns

Returns
Result<PluginMetadata, PluginParseError>
The result of the operation.

Uses

  • read_to_string
  • map_err
  • parse_plugin_header

Source

View on GitHub

praisonai/src/parity/plugins.rs at line 254