diff options
author | DLFW <daniel@llin.info> | 2022-02-02 03:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 21:23:38 -0500 |
commit | e29904dcd71a864eb7b33df55f800e885b870fd4 (patch) | |
tree | eb9d80b875b3dbdac268d60454d55810a758f1d6 /src/context | |
parent | 65f937083bf6e26b178550d7936dd288ba024e53 (diff) |
code cleanup (#135)
* code cleanup
Remove dead code and unused imports around preview features.
* Remove unused config option [display]show_preview
* Remove config option [preview]preview_images
* Remove unused imports
* Remove dead code and unused imports
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/preview_context.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/context/preview_context.rs b/src/context/preview_context.rs index d08371c..f952629 100644 --- a/src/context/preview_context.rs +++ b/src/context/preview_context.rs @@ -14,10 +14,6 @@ impl PreviewContext { } } - pub fn preview_exists(&self, p: &path::Path) -> bool { - self.previews.get(p).is_some() - } - pub fn get_preview_ref(&self, p: &path::Path) -> Option<&Option<FilePreview>> { self.previews.get(p) } |