Skip to content

Typos #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ new php-git features almost tested.
````php
$repo = new Git2\Repository($path);
/*
bool = $repo->isExist(string sha1)
Git2\Object = $repo->read(string sha1)
bool = $repo->exists(string sha1)
Git2\Object = $repo->lookup(string sha1)
string sha1 = $repo->hash(string content, long type)
string sha1 = $repo->write(string content, long type)
bool = $repo->isBare()
Expand Down
26 changes: 13 additions & 13 deletions repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static int php_git2_repository_initialize(zval *object, git_repository *reposito
}

/*
{{{ proto: Git2\Repsotiroy::__construct(string $path)
{{{ proto: Git2\Repository::__construct(string $path)
*/
PHP_METHOD(git2_repository, __construct)
{
Expand All @@ -129,7 +129,7 @@ PHP_METHOD(git2_repository, __construct)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::isEmpty()
{{{ proto: Git2\Repository::isEmpty()
*/
PHP_METHOD(git2_repository, isEmpty)
{
Expand All @@ -149,7 +149,7 @@ PHP_METHOD(git2_repository, isEmpty)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::isBare()
{{{ proto: Git2\Repository::isBare()
*/
PHP_METHOD(git2_repository, isBare)
{
Expand All @@ -169,7 +169,7 @@ PHP_METHOD(git2_repository, isBare)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::getPath()
{{{ proto: Git2\Repository::getPath()
*/
PHP_METHOD(git2_repository, getPath)
{
Expand All @@ -192,7 +192,7 @@ PHP_METHOD(git2_repository, getPath)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::getWorkdir()
{{{ proto: Git2\Repository::getWorkdir()
*/
PHP_METHOD(git2_repository, getWorkdir)
{
Expand All @@ -216,7 +216,7 @@ PHP_METHOD(git2_repository, getWorkdir)


/*
{{{ proto: Git2\Repsotiroy::init(string $path [, bool isBare])
{{{ proto: Git2\Repository::init(string $path [, bool isBare])
*/
PHP_METHOD(git2_repository, init)
{
Expand Down Expand Up @@ -247,7 +247,7 @@ PHP_METHOD(git2_repository, init)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::headDetached()
{{{ proto: Git2\Repository::headDetached()
A repository's HEAD is detached when it points directly to a commit instead of a branch.
*/
PHP_METHOD(git2_repository, headDetached)
Expand All @@ -268,7 +268,7 @@ PHP_METHOD(git2_repository, headDetached)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::headOrphan()
{{{ proto: Git2\Repository::headOrphan()
An orphan branch is one named from HEAD but which doesn't exist in
the refs namespace, because it doesn't have any commit to point to.
*/
Expand All @@ -290,7 +290,7 @@ PHP_METHOD(git2_repository, headOrphan)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::discover(string $path[, bool across_fs, string ceiling_dirs])
{{{ proto: Git2\Repository::discover(string $path[, bool across_fs, string ceiling_dirs])
*/
PHP_METHOD(git2_repository, discover)
{
Expand All @@ -314,7 +314,7 @@ PHP_METHOD(git2_repository, discover)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::exists(string $sha1)
{{{ proto: Git2\Repository::exists(string $sha1)
*/
PHP_METHOD(git2_repository, exists)
{
Expand Down Expand Up @@ -347,7 +347,7 @@ PHP_METHOD(git2_repository, exists)


/*
{{{ proto: Git2\Repsotiroy::lookup(string $sha1[, int type = GIT_OBJ_ANY])
{{{ proto: Git2\Repository::lookup(string $sha1[, int type = GIT_OBJ_ANY])
*/
PHP_METHOD(git2_repository, lookup)
{
Expand Down Expand Up @@ -385,7 +385,7 @@ PHP_METHOD(git2_repository, lookup)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::write(string $contents, int $type)
{{{ proto: Git2\Repository::write(string $contents, int $type)
*/
PHP_METHOD(git2_repository, write)
{
Expand Down Expand Up @@ -423,7 +423,7 @@ PHP_METHOD(git2_repository, write)
/* }}} */

/*
{{{ proto: Git2\Repsotiroy::hash(string $contents, int $type)
{{{ proto: Git2\Repository::hash(string $contents, int $type)
*/
PHP_METHOD(git2_repository, hash)
{
Expand Down