aboutsummaryrefslogtreecommitdiff
path: root/mling/src/res/manifest_path.rs
blob: 7f1686e4e29e9ec75c20df727d35518dbeaba7c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;

#[derive(Default, Clone)]
pub struct ResManifestPath {
    pub raw: Option<String>,
    pub resolved: Option<PathBuf>,
}

impl ResManifestPath {
    pub fn resolved(&self) -> &PathBuf {
        self.resolved.as_ref().unwrap()
    }
}