pub fn apply( target: &Target, content: &[u8], expected_sha: &str, state_dir: &Path, ) -> Result<Applied, String>
Applies content to target. See the module comment for the contract.
content
target