From 9484430036cb6cbe61ee9ee78da418b21ebe6226 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 13:16:58 +0100 Subject: [PATCH] convert private classmethods to simple methods --- volatility3/framework/plugins/linux/pagecache.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 730c6d6e6..4b00e456b 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -663,9 +663,8 @@ class RecoverFs(plugins.PluginInterface): ), ] - @classmethod def _tar_add_reg_inode( - cls, + self, context: interfaces.context.ContextInterface, layer_name: str, tar: tarfile.TarFile, @@ -705,9 +704,8 @@ class RecoverFs(plugins.PluginInterface): return handle_buffer_size - @classmethod def _tar_add_dir( - cls, + self, tar: tarfile.TarFile, directory_path: str, mtime: float = None, @@ -726,9 +724,8 @@ class RecoverFs(plugins.PluginInterface): tar_info.mtime = mtime tar.addfile(tar_info) - @classmethod def _tar_add_lnk( - cls, + self, tar: tarfile.TarFile, symlink_source: str, symlink_dest: str,