This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generic resource id with
ResourceIdTrait
* refactor: define a trait ResourceIdTrait Signed-off-by: Tarek <tareknaser360@gmail.com> * refactor: rename crc32 field to hash Signed-off-by: Tarek <tareknaser360@gmail.com> * docs(resource): add doc comments for ResourceIdTrait Signed-off-by: Tarek <tareknaser360@gmail.com> * docs(resource): add doc comment for ResourceIdCrc32 Signed-off-by: Tarek <tareknaser360@gmail.com> * refactor(resource): make hash type implement needed traits Signed-off-by: Tarek <tareknaser360@gmail.com> * rename ResourceIdCrc32 to ResourceId Signed-off-by: Tarek <tareknaser360@gmail.com> * fix: do not enforce get_hash for implementors of ResourceIdTrait Signed-off-by: Tarek <tareknaser360@gmail.com> --------- Signed-off-by: Tarek <tareknaser360@gmail.com>
- Loading branch information
1 parent
bf3500d
commit 6263e61
Showing
8 changed files
with
118 additions
and
50 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
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
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
Oops, something went wrong.