pub fn install(cwd: &Path) -> Result<(), InstallError>Expand description
Register the agent with git lfs in the repository at cwd.
Two writes, batched into a single read / parse / lock / write cycle:
lfs.customtransfer.<AGENT_NAME>.path→ the binary name.lfs.standalonetransferagent→AGENT_NAME, telling LFS to bypass the HTTP transfer queue and call us directly.
Idempotent: if both keys already hold the expected single value, no write occurs. Legacy multi-valued state from older binaries (#198) is collapsed to the canonical single entry on the next call.
§Errors
Returns InstallError::Git if writing the config entries fails.