\duncan3dc\GitHubFileInterface

Summary

Methods
Constants
getName()
getSize()
getMode()
getHash()
getContents()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getName()

getName() : string

Get the name of this file.

Returns

string

getSize()

getSize() : integer

Get the size of this file.

Returns

integer

getMode()

getMode() : string

Get the permissions and special mode flags of this file.

Returns

string

getHash()

getHash() : string

Get the hash of this file.

Returns

string

getContents()

getContents() : string

Download this file from GitHub.

Returns

string