Skip to content

Commit 1e47e39

Browse files
kamui-finjku
authored andcommitted
docs: add docstring for method
Signed-off-by: Kamui <fin-kamui@pm.me>
1 parent 24b1db6 commit 1e47e39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tuf/api/metadata.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,9 @@ def verify_length_and_hashes(self, data: Union[bytes, IO[bytes]]) -> None:
17391739
self._verify_hashes(data, self.hashes)
17401740

17411741
def get_prefixed_paths(self) -> List[str]:
1742+
"""
1743+
Returns hash-prefixed paths for the given target file path.
1744+
"""
17421745
paths = []
17431746
path = pathlib.Path(self.path)
17441747
name, parent = path.name, path.parent

0 commit comments

Comments
 (0)