-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get_hf_file_metadata Functionality (#142)
* add getHfFileMetadata function to HubApi * only allow huggingface endpoints in getHfFileMetadata * add test case for getHfFileMetadata * remove hardcoded string from location check in test case * rename getHfFileMetadata to getFileMetadata and refactor * add blob search for file metadata * Update Tests/HubTests/HubApiTests.swift Co-authored-by: Pedro Cuenca <[email protected]> --------- Co-authored-by: Pedro Cuenca <[email protected]>
- Loading branch information
1 parent
2f611bf
commit 37e234e
Showing
2 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters