We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4856281 + 9214f70 commit 54ec979Copy full SHA for 54ec979
signaling.go
@@ -22,7 +22,7 @@ func AddUnixFSReificationToLinkSystem(lsys *ipld.LinkSystem) {
22
func UnixFSPathSelector(path string) datamodel.Node {
23
segments := strings.Split(path, "/")
24
ssb := builder.NewSelectorSpecBuilder(basicnode.Prototype.Any)
25
- selectorSoFar := ssb.Matcher()
+ selectorSoFar := ssb.ExploreInterpretAs("unixfs", ssb.Matcher())
26
for i := len(segments) - 1; i >= 0; i-- {
27
selectorSoFar = ssb.ExploreInterpretAs("unixfs",
28
ssb.ExploreFields(func(efsb builder.ExploreFieldsSpecBuilder) {
0 commit comments