File

A file of a repository

Implements

Fields

content (String!)

The content of the file

encoding (FileEncoding!)

The encoding of the content

loadedSize (Int!)

The number of bytes that has been loaded of the content

log ([Commit!]!)

The history (git log) of this entry starting with the most recent changes

Argument Type Description
after Time

Only show commits from after this date/time

before Time

Only show commits from before this date/time

limit Int

Maximum number of commits to list

The default value is 20.

skip Int

Skip the first n commits

The default value is 0.

skipMerges Boolean

Whether or not to skip merge commits in the history

The default value is false.

name (String!)

The name of the entry

path (String!)

The path of the entry

size (Int!)

The size in bytes