# Interface: PathInfo

## Properties

### lastCommit

• `Optional` **lastCommit**: [`CommitInfo`](CommitInfo)

#### Defined in[[lastcommit.defined-in]]

[packages/hub/src/lib/paths-info.ts:32](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L32)

___

### lfs

• `Optional` **lfs**: [`LfsPathInfo`](LfsPathInfo)

Only defined when path is LFS pointer

#### Defined in[[lfs.defined-in]]

[packages/hub/src/lib/paths-info.ts:31](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L31)

___

### oid

• **oid**: `string`

#### Defined in[[oid.defined-in]]

[packages/hub/src/lib/paths-info.ts:26](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L26)

___

### path

• **path**: `string`

#### Defined in[[path.defined-in]]

[packages/hub/src/lib/paths-info.ts:24](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L24)

___

### securityFileStatus

• `Optional` **securityFileStatus**: [`SecurityFileStatus`](SecurityFileStatus)

#### Defined in[[securityfilestatus.defined-in]]

[packages/hub/src/lib/paths-info.ts:33](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L33)

___

### size

• **size**: `number`

#### Defined in[[size.defined-in]]

[packages/hub/src/lib/paths-info.ts:27](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L27)

___

### type

• **type**: `string`

#### Defined in[[type.defined-in]]

[packages/hub/src/lib/paths-info.ts:25](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/lib/paths-info.ts#L25)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/PathInfo.md" />