Skip to main content

read_recorded

Function read_recorded 

Source
pub fn read_recorded(
    target: &Utf8Path,
    destination: &str,
) -> Result<Option<Vec<u8>>>
Expand description

The bytes a recorded destination currently holds, by the placement its name implies.

The marked block for AGENTS.md and .pre-commit-config.yaml, the whole file otherwise. None means the file — or the block — is absent.

§Errors

Any read failure other than the file being absent.