Skip to main content

read_destination

Function read_destination 

Source
pub fn read_destination(
    target: &Utf8Path,
    entry: &Entry,
) -> Result<Option<Vec<u8>>>
Expand description

The bytes an entry’s destination currently holds: the whole file, or the marked block extracted from the target’s AGENTS.md. None means the file — or the block — is absent.

§Errors

Any read failure other than the file being absent.