Huggingface.js documentation

Interface: PathInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: PathInfo

Properties

lastCommit

Optional lastCommit: CommitInfo

Defined in

hub/src/lib/paths-info.ts:32


lfs

Optional lfs: LfsPathInfo

Only defined when path is LFS pointer

Defined in

hub/src/lib/paths-info.ts:31


oid

oid: string

Defined in

hub/src/lib/paths-info.ts:26


path

path: string

Defined in

hub/src/lib/paths-info.ts:24


securityFileStatus

Optional securityFileStatus: SecurityFileStatus

Defined in

hub/src/lib/paths-info.ts:33


size

size: number

Defined in

hub/src/lib/paths-info.ts:27


type

type: string

Defined in

hub/src/lib/paths-info.ts:25

< > Update on GitHub