Look up the remote File for a local BinaryView, or None if there is no matching remote File found. :param bv: Local BinaryView :return: Remote File object :rtype: File or None
(bv: 'BinaryView')
| 73 | |
| 74 | @staticmethod |
| 75 | def get_for_bv(bv: 'BinaryView') -> Optional['RemoteFile']: |
| 76 | """ |
| 77 | Look up the remote File for a local BinaryView, or None if there is no matching |
| 78 | remote File found. |
| 79 | |
| 80 | :param bv: Local BinaryView |
| 81 | :return: Remote File object |
| 82 | :rtype: File or None |
| 83 | """ |
| 84 | if not bv.file.has_database: |
| 85 | return None |
| 86 | return RemoteFile.get_for_local_database(bv.file.database) |
| 87 | |
| 88 | @property |
| 89 | def core_file(self) -> 'ProjectFile': |
nothing calls this directly
no test coverage detected