Avoid infinite loop while checking gemtext content #1
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Gemini/gpubValidator#1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
For the moment, we can face infinite loop because of the recursive content checker. If a file (A) link another file (B) and B link A there is an infinite loop. We must first verify A, keep the result in a cache (
map[string]bool
) then verify all gemtext linked in A and return if the result is false for one of them.