Lines:
1 to 20 of 20
<?php // (C) Copyright Bobbing Wide 2015,2016 /* class Git */ /* function Git::instance() – Return a single instance of this class */ /* function Git::__construct() – Constructor for Git */ /* function Git::commands() – Return some Git command aliases */ /* function Git::has_dot_git */ /* function Git::is_git() – Check directory is a git repository */ /* function Git::is_repo() – Determine if this is a repo. */ /* function Git::chdir() – Change to the directory if it exists */ /* function Git::reset_dir() – Change back to the previous directory */ /* function Git::command() – Perform a git command against the repository */ /* function Git::actual_command() – Return the actual git command to use */ /* function Git::execute() – Execute a command */ /* function Git::result_as_array() – Return the file list as an array */ /* function Git::check_status() – Check the status of all the sub-folders in the directory */ /* function Git::maybe_needs_pulling */ /* function Git::check_remote */ /* function Git::hexdump */View on GitHub