Skip to content

UnixFs Stat Command Returns Invalid Data #580

@jtsmedley

Description

@jtsmedley

When using stat, it does not return the correct dagSize values for non-empty directories. It appears that this line is using the byteLength of the UnixFS data in the directory block. This causes stat commands on non-empty directories to return an invalid value that does not match the Kubo value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/analysisNeeds further analysis before proceeding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions