Method |
Description |
|
extractRef ( GitList\Git\Repository $repository, string $branch = '', string $tree = '' ) : array |
Returns an Array where the first value is the tree-ish and the second is the path. |
|
getBreadcrumbs ( string $spec ) : array |
Builds a breadcrumb array based on a path spec. |
|
getFileType ( string $file ) : mixed |
Returns the file type based on filename by treating the extension. |
|
getReadme ( $repository, $branch = null, $path = '' ) |
|
|
isBinary ( string $file ) : boolean |
Returns whether the file is binary. |
|