PHP Class PhpGitHooks\Module\Configuration\Infrastructure\Hook\HookCopier

ファイルを表示 Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
copyCommitMsgHook ( )
copyPreCommitHook ( )
copyPrePushHook ( )

Private Methods

Method Description
copyFile ( string $hookFile )
copyHookFile ( string $file )
hookExists ( string $hookFile ) : boolean
setPermissions ( $hookFile )

Method Details

copyCommitMsgHook() public method

public copyCommitMsgHook ( )

copyPreCommitHook() public method

public copyPreCommitHook ( )

copyPrePushHook() public method

public copyPrePushHook ( )