---
title: "FileContents"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Git API

## Fields

- `FileContents.commit` (string, required)
- `FileContents.content` (string | null, required)
- `FileContents.encoding` (unknown, required)
  - one of `"base64"`
- `FileContents.lfs` (one of, required)
  - one of: [LfsPointer](/git-api/schemas/LfsPointer/), `null`
- `FileContents.name` (string, required)
- `FileContents.path` (string, required)
- `FileContents.sha` (string, required)
- `FileContents.size` (string, required)
- `FileContents.type` (unknown, required)
  - one of `"file"`, `"symlink"`


Source: https://docs.ezghcloud.com/git-api/schemas/FileContents/index.md
