summaryrefslogtreecommitdiff
path: root/src/directive/brokenlinks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/directive/brokenlinks.rs')
-rw-r--r--src/directive/brokenlinks.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/directive/brokenlinks.rs b/src/directive/brokenlinks.rs
deleted file mode 100644
index 154ffed..0000000
--- a/src/directive/brokenlinks.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-use crate::error::SiteError;
-use crate::page::PageMeta;
-use crate::site::Site;
-use crate::wikitext::ParsedDirective;
-
-#[derive(Debug, Default, Eq, PartialEq)]
-pub struct BrokenLinks {}
-
-impl BrokenLinks {
- pub const REQUIRED: &'static [&'static str] = &["pages"];
- pub const ALLOWED: &'static [&'static str] = &[];
- pub const ALLOW_ANY_UNNAMED: bool = false;
-
- pub fn new() -> Self {
- Self::default()
- }
-
- pub fn process(&self, _site: &Site, _meta: &mut PageMeta) -> Result<String, SiteError> {
- Err(SiteError::UnimplementedDirective("brokenlinks".into()))
- }
-}
-
-impl From<&ParsedDirective> for BrokenLinks {
- fn from(_p: &ParsedDirective) -> Self {
- Self::new()
- }
-}