Git
class Git (View source)
| internal |
Provide some Git utility operations
Methods
static bool
checkIgnore(IOInterface $io, string $path, string $dir = NULL)
Determines whether the specified scaffold file is already ignored.
static bool
checkTracked(IOInterface $io, string $path, string $dir = NULL)
Determines whether the specified scaffold file is tracked by git.
static bool
isRepository(IOInterface $io, string $dir = NULL)
Checks to see if the project root dir is in a git repository.
Details
static bool
checkIgnore(IOInterface $io, string $path, string $dir = NULL)
Determines whether the specified scaffold file is already ignored.
static bool
checkTracked(IOInterface $io, string $path, string $dir = NULL)
Determines whether the specified scaffold file is tracked by git.
static bool
isRepository(IOInterface $io, string $dir = NULL)
Checks to see if the project root dir is in a git repository.