Skip to main content

proxy_content

Function proxy_content 

Source
pub fn proxy_content(
    vendor_dir: &Path,
    link: &Path,
    bin: &Path,
) -> Result<String>
Expand description

Generates the content of the proxy link (vendor/bin/) to the binary bin (absolute, inside vendor/ or outside it with composer/installers), reading the target’s header. Relative paths are those of BinaryInstaller::installUnixyProxyBinaries (findShortestPath from the proxy file).