Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StatResult

Hierarchy

  • StatResult

Index

Properties

blocks: number

If type is directory, this is the number of files in the directory. If it is file it is the number of blocks that make up the file

cid: CID

A CID instance

cumulativeSize: number

The size of the DAGNodes making up the file in Bytes

local?: boolean

Indicates if the queried dag is fully present locally

mode?: number

UnixFS mode if applicable

mtime?: Mtime

UnixFS mtime if applicable

size: number

The file size in Bytes

sizeLocal?: number

Indicates the cumulative size of the data present locally

type: "file" | "directory"

Either directory or file

withLocality: boolean

Indicates if locality information is present

Generated using TypeDoc