Skip to content

Commit 3bf9f8c

Browse files
committed
PR review fixes: Add typing info to pagecache.Files._follow_symlink()
1 parent 90b327e commit 3bf9f8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

volatility3/framework/plugins/linux/pagecache.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]
131131
]
132132

133133
@staticmethod
134-
def _follow_symlink(inode, symlink_path) -> str:
134+
def _follow_symlink(
135+
inode: interfaces.objects.ObjectInterface,
136+
symlink_path: str,
137+
) -> str:
135138
"""Follows (fast) symlinks (kernels >= 4.2.x).
136139
Fast symlinks are filesystem agnostic.
137140

0 commit comments

Comments
 (0)