diff options
| author | Josh Ferrell <josh@vector35.com> | 2023-02-15 17:24:20 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2023-02-15 17:24:20 -0500 |
| commit | 086435bd364505f7e05c8a83e48e8b5bec30c94d (patch) | |
| tree | 9cbb582cea9a28aaf5bb61214a08968bd9d6dc6b /python/filemetadata.py | |
| parent | 5251311429098718270521173399182024516326 (diff) | |
Remove legacy BNDB Merge Tool
Diffstat (limited to 'python/filemetadata.py')
| -rw-r--r-- | python/filemetadata.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py index 5f59bcc7..d7330514 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -484,21 +484,6 @@ class FileMetadata: ctypes.c_ulonglong)(lambda ctxt, cur, total: _progress_func(cur, total)), _settings ) - def merge_user_analysis( - self, path: str, progress_func: ProgressFuncType, excluded_hashes: Optional[List[str]] = None - ): - if excluded_hashes is None: - excluded_hashes = [] - excluded = (ctypes.c_char_p * len(excluded_hashes))() - for i in range(len(excluded_hashes)): - excluded[i] = core.cstr(excluded_hashes[i]) - return core.BNMergeUserAnalysis( - self.handle, str(path), None, - ctypes.CFUNCTYPE(None, ctypes.c_bool, ctypes.c_ulonglong, - ctypes.c_ulonglong)(lambda ctxt, cur, total: progress_func(cur, total)), excluded, - len(excluded_hashes) - ) - def get_view_of_type(self, name: str) -> Optional['binaryview.BinaryView']: view = core.BNGetFileViewOfType(self.handle, str(name)) if view is None: |
