read-url 0.0.10

Read from a wide variety of URL types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::{
    super::{context::*, url::*},
    zip_url::*,
};

use relative_path::*;

impl UrlContext {
    /// Construct a [ZipUrl].
    pub fn zip_url(self: &UrlContextRef, conformed_archive_url: UrlRef, path: RelativePathBuf) -> UrlRef {
        ZipUrl::new(self, conformed_archive_url.into(), path).into()
    }
}