« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for svnroot (0.003 sec.)
svn_diff — ふたつのパスの差分を再帰的に取得する | PHP 8.3 12941
svn_diff (PECL svn >= 0.1.0) svn_diff — ふたつのパスの差分を再帰的に取得する 説明 function svn_diff ( string $path1 , int $rev1 , string $path2 , int $rev2 ): array ふたつのパス path1 および path2 の差分を再帰的に取得します。 注意 : 汎用的な ... では、この関数の基本的な使用法と結果の取得法を示します。 <?php list( $diff , $errors ) = svn_diff ( 'http://www.example.com/svnroot/trunk/foo' , SVN_REVISION_HEAD , 'http://www.example.com/svnroot/branches/dev/foo' , SVN_REVISION_HEAD ); if (! $diff ) ex ... ose ( $diff ); fclose ( $errors ); var_dump ( $contents ); ?> 上の例の出力は以下となります。 Index: http://www.example.com/svnroot/trunk/foo =================================================================== --- http://www.example.com/svnroot/trunk/foo ... (.../foo) (revision 23) +++ http://www.example.com/svnroot/branches/dev/foo (.../foo) (revision 27) // この後に diff の内容が続きます 例2 あるパスのふたつのリビジョンの差分の取得 こ ...
https://man.mtool.work/php/8.3/function.svn-diff.html
svn_import — バージョン管理されていないパスをリポジトリにインポートする | PHP 8... 9833
svn_import (PECL svn >= 0.2.0) svn_import — バージョン管理されていないパスをリポジトリにインポートする 説明 function svn_import ( string $path , string $url , bool $nonrecursive ): bool バージョン管理されていないパス path を、 url で指定した ... す。 例 例1 基本的な例 この例は、関数の基本的な使用法を示すものです。 new-files というディレクトリを http://www.example.com/svnroot/incoming/abc にインポートするには、次のようにします。 <?php svn_import ( realpath ( 'new-files' ), 'http://www.example.com ... /svnroot/incoming/abc' , false ); ?> 注意 警告 この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれてい ...
https://man.mtool.work/php/8.3/function.svn-import.html
svn_ls — Returns list of directory contents in repository URL, optionally at re... 9596
svn_ls (PECL svn >= 0.1.0) svn_ls — Returns list of directory contents in repository URL, optionally at revision number 説明 function svn_ls ( string $repos_url , int $revision_no = SVN_REVISION_HEAD , bool $recurse = false , bool $peg = fa ... with working copies. repos_url must be a repository URL. パラメータ url URL of the repository, eg. http://www.example.com/svnroot . To access a local Subversion repository via filesystem, use the file URI scheme, eg. file:///home/user/svn-repos revisio ... ype] => type, can be 'file' or 'dir' ) [1] => ... 例 例1 svn_ls() example <?php print_r ( svn_ls ( 'http://www.example.com/svnroot/' ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => Array ( [created_rev] => 20 [last_author] => Joe ...
https://man.mtool.work/php/8.3/function.svn-ls.html
svn_status — Returns the status of working copy files and directories | PHP 8.3 8397
svn_status (PECL svn >= 0.1.0) svn_status — Returns the status of working copy files and directories 説明 function svn_status ( string $path , int $flags = 0 ): array Returns the status of working copy files and directories, giving modifica ... es [repos_prop_status] => 1 // no information available, use update [name] => sandwich.txt [url] => http://www.example.com/svnroot/deli/trunk/sandwich.txt [repos] => http://www.example.com/svnroot/ [revision] => 123 [kind] => 1 // file [schedule] => 0 / ...
https://man.mtool.work/php/8.3/function.svn-status.html
svn_blame — ファイルの SVN blame を取得する | PHP 8.3 7906
svn_blame (PECL svn >= 0.3.0) svn_blame — ファイルの SVN blame を取得する 説明 function svn_blame ( string $repository_url , int $revision_no = SVN_REVISION_HEAD ): array リポジトリの URL を指定して、ファイルの SVN blame を取得します。 パラ ... リビジョン番号と行番号、コードの行、作者、日付が含まれます。 例 例1 svn_blame() の例 <?php $svnurl = 'http://svn.example.org/svnroot/foo/trunk/index.php' ; print_r ( svn_blame ( $svnurl ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] = ...
https://man.mtool.work/php/8.3/function.svn-blame.html
svn_cat — リポジトリ内のファイルの内容を返す | PHP 8.3 7670
svn_cat (PECL svn >= 0.1.0) svn_cat — リポジトリ内のファイルの内容を返す 説明 function svn_cat ( string $repos_url , int $revision_no = ? ): string リポジトリ内のファイルを指す URL repos_url の中身を返します。オプションでリビジョン番号 revi ... 基本的な例 この例は、あるファイルのリビジョン 20 の内容を取得します。 <?php $contents = svn_cat ( 'http://www.example.com/svnroot/calc/gui.c' , 28 ) ?> 注意 警告 この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項 ...
https://man.mtool.work/php/8.3/function.svn-cat.html
svn_checkout — リポジトリから作業コピーをチェックアウトする | PHP 8.3 7197
svn_checkout (PECL svn >= 0.1.0) svn_checkout — リポジトリから作業コピーをチェックアウトする 説明 function svn_checkout ( string $repos , string $targetpath , int $revision = ? , int $flags = 0 ): bool repos にあるリポジトリの リビジョン re ... のディレクトリを calc という名前のローカルディレクトリにチェックアウトします。 <?php svn_checkout ( 'http://www.example.com/svnroot/calc/trunk' , dirname ( __FILE__ ) . '/calc' ); ?> dirname(__FILE__) を使用して、 相対パス calc を絶対パスに変換する必要が ...
https://man.mtool.work/php/8.3/function.svn-checkout.html
PREV 1 NEXT