feat: export one source-bound session result as a static ZIP
This commit is contained in:
1 parent
3081581b0b
commit
aa2a2b3ce4
23 files changed
+1816
-114
No files matched your search
@@ -63,6 +63,13 @@ pub fn collect(
|
||||
result
|
||||
}
|
||||
|
||||
pub fn digests(media: &BTreeMap<String, Arc<Media>>) -> BTreeMap<String, String> {
|
||||
media
|
||||
.values()
|
||||
.map(|item| (item.path.to_string(), item.digest.clone()))
|
||||
.collect()
|
||||
}
|
||||
|
||||
fn scan_blocks<'a>(blocks: &'a [DocBlock], urls: &mut BTreeSet<&'a str>) {
|
||||
for block in blocks {
|
||||
match block {
|
||||
|
||||
Reference in new issue
Block a user