-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fs): support IPLD values in extended attributes
Change the value type of extended attributes from String to Ipld to support storing more complex data types. This includes: - Update BTreeMap value type from String to Ipld - Modify get_attribute to return Option<&Ipld> - Update set_attribute to accept any value that can convert to Ipld - Adjust tests to handle Ipld::String values - Remove Eq trait derivation since Ipld doesn't implement it
- Loading branch information
Showing
1 changed file
with
20 additions
and
17 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