This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Extract sharding awareness to UnixFS #86
Labels
need/triage
Needs initial labeling and prioritization
The current state of MFS and its coupling with UnixFS don't make this a high priority issue; this is only valuable in connection with ipfs/kubo#8106: if we can refactor this code outside of the repo we can avoid adding more sharding logic here that just extends the technical debt.
MFS should deal only with the UnixFS
Directory
interface and not with its (basic and HAMT) implementations:go-mfs/dir.go
Lines 374 to 385 in 9c9a0fe
go-mfs/dir.go
Lines 166 to 167 in 9c9a0fe
The tradeoff of removing this here is adding another layer of indirection in UnixFS that can transition from one implementation to another when needed (as MFS does here).
The text was updated successfully, but these errors were encountered: