Improved topological sorting

This commit is contained in:
mdecimus
2025-03-04 15:50:53 +01:00
parent 1c460c7f3b
commit 3554dea4cb
43 changed files with 1230 additions and 313 deletions

View File

@@ -2,12 +2,12 @@ require ["fileinto", "mailbox", "mailboxid", "special-use", "ihave", "imap4flags
# SpecialUse extension tests
if not specialuse_exists ["inbox", "trash"] {
error "Special-use mailboxes INBOX or TRASH do not exist.";
error "Special-use mailboxes INBOX or TRASH do not exist (lowercase).";
}
if not anyof(specialuse_exists "Inbox" "inbox",
specialuse_exists "Deleted Items" "trash") {
error "Special-use mailboxes INBOX or TRASH do not exist.";
error "Special-use mailboxes INBOX or TRASH do not exist (mixed-case).";
}
if specialuse_exists "dingleberry" {