quick-file-transfer 0.10.2

Transfer files quickly, safely, and painlessly between hosts on a local network
Documentation
1
2
3
4
5
6
7
8
9
use std::env;

pub(super) fn get_remote_password_from_env() -> Option<String> {
    if let Ok(password) = env::var(super::ENV_REMOTE_PASSWORD) {
        Some(password)
    } else {
        None
    }
}