Model Database's logo
Join the Model Database community

and get access to the augmented documentation experience

to get started

Interface: ListFileEntry

Properties

lastCommit

Optional lastCommit: Object

Only fetched if expand is set to true in the listFiles call.

Type declaration

Name Type
date string
id string
title string

Defined in

hub/src/lib/list-files.ts:23


lfs

Optional lfs: Object

Type declaration

Name Type Description
oid string -
pointerSize number Size of the raw pointer file, 100~200 bytes
size number -

Defined in

hub/src/lib/list-files.ts:14


oid

oid: string

Defined in

hub/src/lib/list-files.ts:13


path

path: string

Defined in

hub/src/lib/list-files.ts:12


security

Optional security: unknown

Only fetched if expand is set to true in the listFiles call.

Defined in

hub/src/lib/list-files.ts:31


size

size: number

Defined in

hub/src/lib/list-files.ts:11


type

type: "file" | "directory" | "unknown"

Defined in

hub/src/lib/list-files.ts:10