MFSStat class
Kubo-compatible stat result for an MFS path.
Constructors
Properties
- blocks → int
-
Number of direct links (child blocks).
final
- cumulativeSize → int
-
Cumulative DAG size in bytes.
final
- hash → String
-
CID string of the target node.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → bool?
-
Whether all blocks are present locally.
final
- mode → int?
-
Unix mode, when available.
final
- mtime → int?
-
Modification time in seconds since epoch, when available.
final
- mtimeNsecs → int?
-
Nanosecond fraction of the modification time, when available.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
File size in bytes, or 0 for directories.
final
- sizeLocal → int?
-
Cumulative size of the locally available portion of the DAG.
final
- type → String
-
Node type: 'file' or 'directory' (Kubo maps everything else —
raw leaves, symlinks, metadata — onto one of these two).
final
- withLocal → bool?
-
Whether the
with-localflag was requested.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this stat to a Kubo-compatible JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited