Magidoc

GistFile
Object

A file in a gist.

Fields

#

encodedName

The file name encoded to remove characters that are invalid in URL paths.

encoding

The gist file encoding.

extension

The file extension from the file name.

isImage

Non-null

Indicates if this file is an image.

isTruncated

Non-null

Whether the file's contents were truncated.

language

The programming language this file is written in.

name

The gist file name.

size

The gist file size in bytes.

text

UTF8 text data or null if the file is binary

Usages

#

References

#