Skip to main content

move_scratch_file

Function move_scratch_file 

Source
pub(super) fn move_scratch_file(
    home: &Path,
    cmd: &MoveScratchFileReq,
) -> Result<MoveScratchFileResult, String>
Expand description

Promotes a scratch buffer to a real user-chosen path (Save As, or a name typed into its tab). The errors are sentences, shown to the person as they are.