use ;
use ;
/// Calculates the SHA-1 hash of a file at the specified path.
///
/// # Parameters
/// - `path`: The path to the file for which to calculate the SHA-1 hash.
///
/// # Returns
/// A result containing the SHA-1 hash as a hexadecimal string or an error if the file could not be read.