[web] Statics dumpy??? #2
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Emi/PronounsToday#2
Loading…
Reference in a new issue
No description provided.
Delete branch "dump-statics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pronouns-today dump-statics [path]
./static/
@ -52,0 +82,4 @@
.map_err(|e| (e, path))
)
.collect::<Result<(), (io::Error, PathBuf)>>()
}
I think this might be cleaner with a for loop instead of 2 iterators but it's fine if you prefer this way.
The problem with a for loop is that we want to make sure that there are no conflicts before we start to write out files. If we used a for loop, it already would've written several files before it noticed the conflict. By using disjoint interators, we can create a "checkpoint" and make sure there are no errors first
they got the dumpy tho
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.