diff --git a/core/coreapi/unixfile.go b/core/coreapi/unixfile.go index 903c36bac..03973c98c 100644 --- a/core/coreapi/unixfile.go +++ b/core/coreapi/unixfile.go @@ -159,6 +159,9 @@ func newUnixfsFile(ctx context.Context, dserv ipld.DAGService, nd ipld.Node) (fi if fsn.IsDir() { return newUnixfsDir(ctx, dserv, nd) } + if fsn.Type() == ft.TSymlink { + return files.NewLinkFile(string(fsn.Data()), nil), nil + } case *dag.RawNode: default: