resource-path 0.0.0

A path representation for resource at local and remote.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::PathBuf;

use url::Url;

mod third_party;

/// A path to a resource, either local or remote.
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct ResourcePath {
    /// The network path to the resource.
    pub network: Url,
    /// The local path to the resource.
    pub local: PathBuf,
}