PR review fixes: Add typing info to pagecache.Files._follow_symlink()

This commit is contained in:
Gustavo Moreira
2024-08-24 12:03:10 +10:00
parent 90b327e632
commit 3bf9f8cec0
@@ -131,7 +131,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface):
]
@staticmethod
def _follow_symlink(inode, symlink_path) -> str:
def _follow_symlink(
inode: interfaces.objects.ObjectInterface,
symlink_path: str,
) -> str:
"""Follows (fast) symlinks (kernels >= 4.2.x).
Fast symlinks are filesystem agnostic.