Skip to main content

place

Function place 

Source
pub fn place(built: &Path, into: &Path) -> Result<Vec<String>, String>
Expand description

Copies each binary a build produced over the installed one, by rename, so a running process keeps its inode and a copy cut short leaves the old binary in place.

Returns the names placed.

ยงErrors

Returns a description when nothing was built, or a copy failed.