Skip to content

100% api coverage -> v1.3.4

Latest
Compare
Choose a tag to compare
@dineshr93 dineshr93 released this 09 Nov 09:10
· 22 commits to master since this release

Added class instead of multiple function imports

  1. use_fossy_to.get_license_by_short_name(short_name='AGPL-1.0')

  2. use_fossy_to.add_new_license(unique_short_name='', new_full_name='', new_license_text='',
    new_url='', new_risk=2, isCandidate=True, merge_request=False)

  3. use_fossy_to.update_license_info_by_short_name(short_name='', new_full_name='', new_license_text='', new_url='', new_risk=2)

  4. use_fossy_to.search_files_based_on(self, filename_wildcard: str, searchType: SearchType, uploadId: int, tag: str, filesizemin_bytes: int, filesizemax_bytes: int, license: str, copyright: str) -> List[SearchResults] | Info:
    --- give SearchType.Directory and filename_wildcard = 'draw%' (for draPaintIO.zip)

29 use_fossy_to.get_file_by_any_one_of_sha1_or_md5_or_sha256(self, sha1: str = '', md5: str = '', sha256: str = '') -> str | List[File]:
--- give only one hash of any of 3 format sha1 or sha256 or md5
--- returns list if even only data is there else it will return 'not found' string.