Skip to main content

check_target

Function check_target 

Source
pub fn check_target(
    target: &Path,
    version: &str,
    own_root: Option<&Path>,
    own_appimage: Option<&Path>,
    data_dir: &Path,
    channel_dir: &Path,
) -> Result<(), String>
Expand description

Check the new version srv names at target against this install. This install is a portable in own_root, or the AppImage own_appimage; the new version, of version, is where srv puts it: beside this one, or in updates/<v>/ of the channel (channel_dir) or of this version’s data_dir.

  • A portable: agentmux.sh of a folder whose usr/share/agentmux/VERSION says version and which holds that version’s srv.
  • An AppImage: that version’s release file, executable.