Git_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# clone( string $repo , string $target , array $opts )
Clone a repositroy
public
# clean( string $path , bool $dir = true, bool $dry = false )
Clean repository of stray files
public
# valid( string $path )
Path is valid git repository
public
# stash( string $path , string $message = NULL )
Stash pending changes into new commit
public
# reset( string $path , string $commit = NULL, bool $hard = true )
Reset repository to commit
public
# tag( string $path )
List tags for repository
public
# init( string $path , bool $bare = true )
Initialize a git repository
public
# fetch( string $path , array $opts = array ( ) )
Download objects and refs from another repository
public
# add( string $path , array $files = array ( ) )
Add files to an existing repo
public
# head( string $path )
Get head commit
public
# add_ignore( string $path , $files )
Add files to ignore
public
# list_ignored_files( string $path )
List ignored files
public
# list_commits( string $path , int $max = 5 )
Get last n commits
public
# commit( string $path , string $msg )
Commit staged transaction
public
# checkout( string $path , string $ref , array $files = NULL )
Checkout ref/tag
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions
# array ( '*' => 3, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id