Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentTree::contents is BTreeMap #125

Merged
merged 3 commits into from
Jun 5, 2024
Merged

ContentTree::contents is BTreeMap #125

merged 3 commits into from
Jun 5, 2024

Conversation

Jerboa-app
Copy link
Contributor

Closes #124

@BurrowBot
Copy link

Seems the coverage is below main by -0.13 %, please consider adding to the tests, thanks!
Here is the full report breakdown

Total coverage 57.98 % (-0.13 % against main)
________________________________
src/integrations/git/refresh.rs  | 0.0   % 0 / 33
src/main.rs                      | 0.0   % 0 / 56
src/server/api/stats.rs          | 0.0   % 0 / 78
src/server/http.rs               | 0.0   % 0 / 20
src/server/https.rs              | 5.97  % 4 / 67
src/server/stats/mod.rs          | 30.36 % 17 / 56
src/lib.rs                       | 42.11 % 8 / 19
src/server/stats/hits.rs         | 45.68 % 37 / 81
src/server/throttle.rs           | 61.22 % 30 / 49
src/integrations/discord/post.rs | 62.5  % 10 / 16
src/server/stats/digest.rs       | 69.66 % 62 / 89
src/content/mod.rs               | 72.73 % 80 / 110
src/task/mod.rs                  | 74.14 % 43 / 58
src/filesystem/folder.rs         | 75.56 % 34 / 45
src/integrations/mod.rs          | 76.47 % 26 / 34
src/integrations/git/mod.rs      | 78.79 % 52 / 66
src/server/stats/file.rs         | 79.31 % 23 / 29
src/filesystem/file.rs           | 79.41 % 27 / 34
src/content/sitemap.rs           | 79.56 % 144 / 181
src/filesystem/mod.rs            | 80.0  % 8 / 10
src/util.rs                      | 83.91 % 73 / 87
src/config.rs                    | 87.5  % 35 / 40
src/content/filter.rs            | 100.0 % 5 / 5
src/content/mime_type.rs         | 100.0 % 31 / 31
src/integrations/webhook.rs      | 100.0 % 3 / 3
________________________________

@BurrowBot
Copy link

Looks like you increased coverage by 0.15 %, fantastic!
Here is the full report breakdown

Total coverage 58.26 % (+0.15 % against main)
________________________________
src/integrations/git/refresh.rs  | 0.0   % 0 / 33
src/main.rs                      | 0.0   % 0 / 56
src/server/api/stats.rs          | 0.0   % 0 / 78
src/server/http.rs               | 0.0   % 0 / 20
src/server/https.rs              | 5.97  % 4 / 67
src/server/stats/mod.rs          | 30.36 % 17 / 56
src/lib.rs                       | 42.11 % 8 / 19
src/server/stats/hits.rs         | 45.68 % 37 / 81
src/server/throttle.rs           | 61.22 % 30 / 49
src/integrations/discord/post.rs | 62.5  % 10 / 16
src/server/stats/digest.rs       | 69.66 % 62 / 89
src/content/mod.rs               | 72.48 % 79 / 109
src/task/mod.rs                  | 74.14 % 43 / 58
src/filesystem/folder.rs         | 75.56 % 34 / 45
src/integrations/mod.rs          | 76.47 % 26 / 34
src/integrations/git/mod.rs      | 78.79 % 52 / 66
src/server/stats/file.rs         | 79.31 % 23 / 29
src/filesystem/file.rs           | 79.41 % 27 / 34
src/filesystem/mod.rs            | 80.0  % 8 / 10
src/content/sitemap.rs           | 81.77 % 148 / 181
src/util.rs                      | 83.91 % 73 / 87
src/config.rs                    | 87.5  % 35 / 40
src/content/filter.rs            | 100.0 % 5 / 5
src/content/mime_type.rs         | 100.0 % 31 / 31
src/integrations/webhook.rs      | 100.0 % 3 / 3
________________________________

@BurrowBot
Copy link

Seems the coverage is below main by -0.61 %, please consider adding to the tests, thanks!
Here is the full report breakdown

Total coverage 57.5 % (-0.61 % against main)
________________________________
src/integrations/git/refresh.rs  | 0.0   % 0 / 33
src/main.rs                      | 0.0   % 0 / 63
src/server/api/stats.rs          | 0.0   % 0 / 78
src/server/http.rs               | 0.0   % 0 / 20
src/server/https.rs              | 5.97  % 4 / 67
src/server/stats/mod.rs          | 30.36 % 17 / 56
src/lib.rs                       | 42.11 % 8 / 19
src/server/stats/hits.rs         | 45.68 % 37 / 81
src/server/throttle.rs           | 61.22 % 30 / 49
src/integrations/discord/post.rs | 62.5  % 10 / 16
src/server/stats/digest.rs       | 69.66 % 62 / 89
src/content/mod.rs               | 72.48 % 79 / 109
src/task/mod.rs                  | 74.14 % 43 / 58
src/filesystem/folder.rs         | 75.56 % 34 / 45
src/integrations/mod.rs          | 76.47 % 26 / 34
src/content/sitemap.rs           | 77.49 % 148 / 191
src/integrations/git/mod.rs      | 78.79 % 52 / 66
src/server/stats/file.rs         | 79.31 % 23 / 29
src/filesystem/file.rs           | 79.41 % 27 / 34
src/filesystem/mod.rs            | 80.0  % 8 / 10
src/util.rs                      | 83.91 % 73 / 87
src/config.rs                    | 87.5  % 35 / 40
src/content/filter.rs            | 100.0 % 5 / 5
src/content/mime_type.rs         | 100.0 % 31 / 31
src/integrations/webhook.rs      | 100.0 % 3 / 3
________________________________

@Jerboa-app Jerboa-app merged commit 6085fd0 into main Jun 5, 2024
6 checks passed
@Jerboa-app Jerboa-app deleted the fix_124 branch June 29, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Routing results in huge (mostly) not-freed memory due to the move of Content
2 participants