forked from HvyIndustries/crane-php-stubs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
svn.php
1243 lines (1140 loc) · 37.2 KB
/
svn.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
// Start of svn v.1.0.2
class Svn {
const NON_RECURSIVE = 1;
const DISCOVER_CHANGED_PATHS = 2;
const OMIT_MESSAGES = 4;
const STOP_ON_COPY = 8;
const ALL = 16;
const SHOW_UPDATES = 32;
const NO_IGNORE = 64;
const IGNORE_EXTERNALS = 128;
const INITIAL = 1;
const HEAD = -1;
const BASE = -2;
const COMMITTED = -3;
const PREV = -4;
const UNSPECIFIED = -5;
public static function cat () {}
public static function checkout () {}
public static function log () {}
public static function status () {}
}
class SvnWc {
const NONE = 1;
const UNVERSIONED = 2;
const NORMAL = 3;
const ADDED = 4;
const MISSING = 5;
const DELETED = 6;
const REPLACED = 7;
const MODIFIED = 8;
const MERGED = 9;
const CONFLICTED = 10;
const IGNORED = 11;
const OBSTRUCTED = 12;
const EXTERNAL = 13;
const INCOMPLETE = 14;
}
class SvnWcSchedule {
const NORMAL = 0;
const ADD = 1;
const DELETE = 2;
const REPLACE = 3;
}
class SvnNode {
const NONE = 0;
const FILE = 1;
const DIR = 2;
const UNKNOWN = 3;
}
/**
* (PECL svn >= 0.1.0)<br/>
* Checks out a working copy from the repository
* @link http://php.net/manual/en/function.svn-checkout.php
* @param string $repos <p>
* String URL path to directory in repository to check out.
* </p>
* @param string $targetpath <p>
* String local path to directory to check out in to
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param int $revision [optional] <p>
* Integer revision number of repository to check out. Default is
* HEAD, the most recent revision.
* </p>
* @param int $flags [optional] <p>
* Any combination of <b>SVN_NON_RECURSIVE</b> and
* <b>SVN_IGNORE_EXTERNALS</b>.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_checkout ($repos, $targetpath, $revision = null, $flags = 0) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the contents of a file in a repository
* @link http://php.net/manual/en/function.svn-cat.php
* @param string $repos_url <p>
* String URL path to item in a repository.
* </p>
* @param int $revision_no [optional] <p>
* Integer revision number of item to retrieve, default is the HEAD
* revision.
* </p>
* @return string the string contents of the item from the repository on
* success, and <b>FALSE</b> on failure.
*/
function svn_cat ($repos_url, $revision_no = null) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns list of directory contents in repository URL, optionally at revision number
* @link http://php.net/manual/en/function.svn-ls.php
* @param string $repos_url
* @param int $revision_no [optional]
* @param bool $recurse [optional] <p>
* Enables recursion.
* </p>
* @param bool $peg [optional]
* @return array On success, this function returns an array file listing in the format
* of:
* <pre>
* [0] => Array
* (
* [created_rev] => integer revision number of last edit
* [last_author] => string author name of last edit
* [size] => integer byte file size of file
* [time] => string date of last edit in form 'M d H:i'
* or 'M d Y', depending on how old the file is
* [time_t] => integer unix timestamp of last edit
* [name] => name of file/directory
* [type] => type, can be 'file' or 'dir'
* )
* [1] => ...
* </pre>
*/
function svn_ls ($repos_url, $revision_no = 'SVN_REVISION_HEAD', $recurse = false, $peg = false) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the commit log messages of a repository URL
* @link http://php.net/manual/en/function.svn-log.php
* @param string $repos_url <p>
* Repository URL of the item to retrieve log history from.
* </p>
* @param int $start_revision [optional] <p>
* Revision number of the first log to retrieve. Use
* <b>SVN_REVISION_HEAD</b> to retrieve the log from
* the most recent revision.
* </p>
* @param int $end_revision [optional] <p>
* Revision number of the last log to retrieve. Defaults to
* <i>start_revision</i> if specified or to
* <b>SVN_REVISION_INITIAL</b> otherwise.
* </p>
* @param int $limit [optional] <p>
* Number of logs to retrieve.
* </p>
* @param int $flags [optional] <p>
* Any combination of <b>SVN_OMIT_MESSAGES</b>,
* <b>SVN_DISCOVER_CHANGED_PATHS</b> and
* <b>SVN_STOP_ON_COPY</b>.
* </p>
* @return array On success, this function returns an array file listing in the format
* of:
* <pre>
* [0] => Array, ordered most recent (highest) revision first
* (
* [rev] => integer revision number
* [author] => string author name
* [msg] => string log message
* [date] => string date formatted per ISO 8601, i.e. date('c')
* [paths] => Array, describing changed files
* (
* [0] => Array
* (
* [action] => string letter signifying change
* [path] => absolute repository path of changed file
* )
* [1] => ...
* )
* )
* [1] => ...
* </pre>
* </p>
* <p>
* The output will always be a numerically indexed array of arrays,
* even when there are none or only one log message(s).
* </p>
* <p>
* The value of action is a subset of the
* status output
* in the first column, where possible values are:
* </p>
* <table>
* Actions
* <tr valign="top">
* <td>Letter</td>
* <td>Description</td>
* </tr>
* <tr valign="top">
* <td>M</td>
* <td>Item/props was modified</td>
* </tr>
* <tr valign="top">
* <td>A</td>
* <td>Item was added</td>
* </tr>
* <tr valign="top">
* <td>D</td>
* <td>Item was deleted</td>
* </tr>
* <tr valign="top">
* <td>R</td>
* <td>Item was replaced</td>
* </tr>
* </table>
* <p>
* If no changes were made to the item, an empty array is returned.
*/
function svn_log ($repos_url, $start_revision = null, $end_revision = null, $limit = 0, $flags = 'SVN_DISCOVER_CHANGED_PATHS | SVN_STOP_ON_COPY') {}
/**
* (PECL svn >= 0.1.0)<br/>
* Sets an authentication parameter
* @link http://php.net/manual/en/function.svn-auth-set-parameter.php
* @param string $key <p>
* String key name. Use the authentication constants
* defined by this extension to specify a key.
* </p>
* @param string $value <p>
* String value to set to parameter at key. Format of value varies
* with the parameter.
* </p>
* @return void No value is returned.
*/
function svn_auth_set_parameter ($key, $value) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Retrieves authentication parameter
* @link http://php.net/manual/en/function.svn-auth-get-parameter.php
* @param string $key <p>
* String key name. Use the authentication constants
* defined by this extension to specify a key.
* </p>
* @return string the string value of the parameter at <i>key</i>;
* returns <b>NULL</b> if parameter does not exist.
*/
function svn_auth_get_parameter ($key) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the version of the SVN client libraries
* @link http://php.net/manual/en/function.svn-client-version.php
* @return string String version number, usually in form of x.y.z.
*/
function svn_client_version () {}
function svn_config_ensure () {}
/**
* (PECL svn >= 0.1.0)<br/>
* Recursively diffs two paths
* @link http://php.net/manual/en/function.svn-diff.php
* @param string $path1 <p>
* First path to diff. This can be a URL to a file/directory in an SVN
* repository or a local file/directory path.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* If a local file path has only backslashes and no forward slashes,
* this extension will fail to find the path. Always
* replace all backslashes with forward slashes when using this
* function.
* @param int $rev1 <p>
* First path's revision number. Use <b>SVN_REVISION_HEAD</b>
* to specify the most recent revision.
* </p>
* @param string $path2 <p>
* Second path to diff. See <i>path1</i> for description.
* </p>
* @param int $rev2 <p>
* Second path's revision number. See <i>rev1</i>
* for description.
* </p>
* @return array an array-list consisting of two streams: the first is the diff output
* and the second contains error stream output. The streams can be
* read using <b>fread</b>. Returns <b>FALSE</b> or <b>NULL</b> on
* error.
* </p>
* <p>
* The diff output will, by default, be in the form of Subversion's
* custom unified diff format, but an
* external
* diff engine may be
* used depending on Subversion's configuration.
*/
function svn_diff ($path1, $rev1, $path2, $rev2) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Recursively cleanup a working copy directory, finishing incomplete operations and removing locks
* @link http://php.net/manual/en/function.svn-cleanup.php
* @param string $workingdir <p>
* String path to local working directory to cleanup
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_cleanup ($workingdir) {}
/**
* (PECL svn >= 0.3.0)<br/>
* Revert changes to the working copy
* @link http://php.net/manual/en/function.svn-revert.php
* @param string $path <p>
* The path to the working repository.
* </p>
* @param bool $recursive [optional] <p>
* Optionally make recursive changes.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_revert ($path, $recursive = false) {}
function svn_resolved () {}
/**
* (PECL svn >= 0.1.0)<br/>
* Sends changes from the local working copy to the repository
* @link http://php.net/manual/en/function.svn-commit.php
* @param string $log <p>
* String log text to commit
* </p>
* @param array $targets <p>
* Array of local paths of files to be committed
* </p>
* This parameter must be an array, a string for a single
* target is not acceptable.
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param bool $recursive [optional] <p>
* Boolean flag to disable recursive committing of
* directories in the <i>targets</i> array.
* Default is <b>TRUE</b>.
* </p>
* @return array array in form of:
* </p>
* <pre>
* array(
* 0 => integer revision number of commit
* 1 => string ISO 8601 date and time of commit
* 2 => name of committer
* )
* </pre>
* <p>
* Returns <b>FALSE</b> on failure.
*/
function svn_commit ($log, array $targets, $recursive = true) {}
function svn_lock () {}
function svn_unlock () {}
/**
* (PECL svn >= 0.1.0)<br/>
* Schedules the addition of an item in a working directory
* @link http://php.net/manual/en/function.svn-add.php
* @param string $path <p>
* Path of item to add.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param bool $recursive [optional] <p>
* If item is directory, whether or not to recursively add
* all of its contents. Default is <b>TRUE</b>
* </p>
* @param bool $force [optional] <p>
* If true, Subversion will recurse into already versioned directories
* in order to add unversioned files that may be hiding in those
* directories. Default is <b>FALSE</b>
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_add ($path, $recursive = true, $force = false) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the status of working copy files and directories
* @link http://php.net/manual/en/function.svn-status.php
* @param string $path <p>
* Local path to file or directory to retrieve status of.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param int $flags [optional] <p>
* Any combination of <b>SVN_NON_RECURSIVE</b>,
* <b>SVN_ALL</b> (regardless of modification status),
* <b>SVN_SHOW_UPDATES</b> (entries will be added for items
* that are out-of-date), <b>SVN_NO_IGNORE</b> (disregard
* svn:ignore properties when scanning for new files)
* and <b>SVN_IGNORE_EXTERNALS</b>.
* </p>
* @return array a numerically indexed array of associative arrays detailing
* the status of items in the repository:
* </p>
* <pre>
* Array (
* [0] => Array (
* // information on item
* )
* [1] => ...
* )
* </pre>
* <p>
* The information on the item is an associative array that can contain
* the following keys:
* </p>
* path
* String path to file/directory of this entry on local filesystem.
* text_status
* Status of item's text. Refer to status constants for possible values.
* repos_text_status
* Status of item's text in repository. Only accurate if
* <i>update</i> was set to <b>TRUE</b>.
* Refer to status constants for possible values.
* prop_status
* Status of item's properties. Refer to status constants for possible values.
* repos_prop_status
* Status of item's property in repository. Only accurate if
* <i>update</i> was set to <b>TRUE</b>. Refer to status constants for possible values.
* locked
* Whether or not the item is locked. (Only set if <b>TRUE</b>.)
* copied
* Whether or not the item was copied (scheduled for addition with
* history). (Only set if <b>TRUE</b>.)
* switched
* Whether or not the item was switched using the switch command.
* (Only set if <b>TRUE</b>)
* <p>
* These keys are only set if the item is versioned:
* </p>
* name
* Base name of item in repository.
* url
* URL of item in repository.
* repos
* Base URL of repository.
* revision
* Integer revision of item in working copy.
* kind
* Type of item, i.e. file or directory. Refer to type constants for possible values.
* schedule
* Scheduled action for item, i.e. addition or deletion. Constants
* for these magic numbers are not available, they can
* be emulated by using:
* <code>
* if (!defined('svn_wc_schedule_normal')) {
* define('svn_wc_schedule_normal', 0); // nothing special
* define('svn_wc_schedule_add', 1); // item will be added
* define('svn_wc_schedule_delete', 2); // item will be deleted
* define('svn_wc_schedule_replace', 3); // item will be added and deleted
* }
* </code>
* deleted
* Whether or not the item was deleted, but parent revision lags
* behind. (Only set if <b>TRUE</b>.)
* absent
* Whether or not the item is absent, that is, Subversion knows that
* there should be something there but there isn't. (Only set if
* <b>TRUE</b>.)
* incomplete
* Whether or not the entries file for a directory is incomplete.
* (Only set if <b>TRUE</b>.)
* cmt_date
* Integer Unix timestamp of last commit date. (Unaffected by <i>update</i>.)
* cmt_rev
* Integer revision of last commit. (Unaffected by <i>update</i>.)
* cmt_author
* String author of last commit. (Unaffected by <i>update
*/
function svn_status ($path, $flags = 0) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Update working copy
* @link http://php.net/manual/en/function.svn-update.php
* @param string $path <p>
* Path to local working copy.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param int $revno [optional] <p>
* Revision number to update to, default is <b>SVN_REVISION_HEAD</b>.
* </p>
* @param bool $recurse [optional] <p>
* Whether or not to recursively update directories.
* </p>
* @return int new revision number on success, returns <b>FALSE</b> on failure.
*/
function svn_update ($path, $revno = 'SVN_REVISION_HEAD', $recurse = true) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Imports an unversioned path into a repository
* @link http://php.net/manual/en/function.svn-import.php
* @param string $path <p>
* Path of file or directory to import.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param string $url <p>
* Repository URL to import into.
* </p>
* @param bool $nonrecursive <p>
* Whether or not to refrain from recursively processing directories.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_import ($path, $url, $nonrecursive) {}
function svn_info () {}
/**
* (PECL svn >= 0.3.0)<br/>
* Export the contents of a SVN directory
* @link http://php.net/manual/en/function.svn-export.php
* @param string $frompath <p>
* The path to the current repository.
* </p>
* @param string $topath <p>
* The path to the new repository.
* </p>
* @param bool $working_copy [optional] <p>
* If <b>TRUE</b>, it will export uncommitted files from the working copy.
* </p>
* @param int $revision_no [optional]
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_export ($frompath, $topath, $working_copy = true, $revision_no = -1) {}
function svn_copy () {}
function svn_switch () {}
/**
* (PECL svn >= 0.3.0)<br/>
* Get the SVN blame for a file
* @link http://php.net/manual/en/function.svn-blame.php
* @param string $repository_url <p>
* The repository URL.
* </p>
* @param int $revision_no [optional] <p>
* The revision number.
* </p>
* @return array An array of SVN blame information separated by line
* which includes the revision number, line number, line of code,
* author, and date.
*/
function svn_blame ($repository_url, $revision_no = 'SVN_REVISION_HEAD') {}
/**
* (PECL svn >= 0.4.0)<br/>
* Delete items from a working copy or repository.
* @link http://php.net/manual/en/function.svn-delete.php
* @param string $path <p>
* Path of item to delete.
* </p>
* Relative paths will be resolved as if the current working directory was the one that contains the PHP binary. To use the calling script's working directory, use <b>realpath</b> or dirname(__FILE__).
* @param bool $force [optional] <p>
* If <b>TRUE</b>, the file will be deleted even if it has local modifications.
* Otherwise, local modifications will result in a failure. Default is
* <b>FALSE</b>
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_delete ($path, $force = false) {}
/**
* (PECL svn >= 0.4.0)<br/>
* Creates a directory in a working copy or repository
* @link http://php.net/manual/en/function.svn-mkdir.php
* @param string $path <p>
* The path to the working copy or repository.
* </p>
* @param string $log_message [optional]
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function svn_mkdir ($path, $log_message = null) {}
function svn_move () {}
function svn_proplist () {}
function svn_propget () {}
/**
* (PECL svn >= 0.1.0)<br/>
* Create a new subversion repository at path
* @link http://php.net/manual/en/function.svn-repos-create.php
* @param string $path <p>
* Its description
* </p>
* @param array $config [optional] <p>
* Its description
* </p>
* @param array $fsconfig [optional] <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_create ($path, array $config = null, array $fsconfig = null) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Run recovery procedures on the repository located at path.
* @link http://php.net/manual/en/function.svn-repos-recover.php
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_recover ($path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Make a hot-copy of the repos at repospath; copy it to destpath
* @link http://php.net/manual/en/function.svn-repos-hotcopy.php
* @param string $repospath <p>
* Its description
* </p>
* @param string $destpath <p>
* Its description
* </p>
* @param bool $cleanlogs <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_hotcopy ($repospath, $destpath, $cleanlogs) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Open a shared lock on a repository.
* @link http://php.net/manual/en/function.svn-repos-open.php
* @param string $path <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_open ($path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Gets a handle on the filesystem for a repository
* @link http://php.net/manual/en/function.svn-repos-fs.php
* @param resource $repos <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_fs ($repos) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Create a new transaction
* @link http://php.net/manual/en/function.svn-repos-fs-begin-txn-for-commit.php
* @param resource $repos <p>
* Its description
* </p>
* @param int $rev <p>
* Its description
* </p>
* @param string $author <p>
* Its description
* </p>
* @param string $log_msg <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_fs_begin_txn_for_commit ($repos, $rev, $author, $log_msg) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Commits a transaction and returns the new revision
* @link http://php.net/manual/en/function.svn-repos-fs-commit-txn.php
* @param resource $txn <p>
* Its description
* </p>
* @return int What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_repos_fs_commit_txn ($txn) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Get a handle on a specific version of the repository root
* @link http://php.net/manual/en/function.svn-fs-revision-root.php
* @param resource $fs <p>
* Its description
* </p>
* @param int $revnum <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_revision_root ($fs, $revnum) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Determines what kind of item lives at path in a given repository fsroot
* @link http://php.net/manual/en/function.svn-fs-check-path.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return int What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_check_path ($fsroot, $path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Fetches the value of a named property
* @link http://php.net/manual/en/function.svn-fs-revision-prop.php
* @param resource $fs <p>
* Its description
* </p>
* @param int $revnum <p>
* Its description
* </p>
* @param string $propname <p>
* Its description
* </p>
* @return string What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_revision_prop ($fs, $revnum, $propname) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Enumerates the directory entries under path; returns a hash of dir names to file type
* @link http://php.net/manual/en/function.svn-fs-dir-entries.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return array What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_dir_entries ($fsroot, $path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the revision in which path under fsroot was created
* @link http://php.net/manual/en/function.svn-fs-node-created-rev.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return int What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_node_created_rev ($fsroot, $path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the number of the youngest revision in the filesystem
* @link http://php.net/manual/en/function.svn-fs-youngest-rev.php
* @param resource $fs <p>
* Its description
* </p>
* @return int What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_youngest_rev ($fs) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns a stream to access the contents of a file from a given version of the fs
* @link http://php.net/manual/en/function.svn-fs-file-contents.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_file_contents ($fsroot, $path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the length of a file from a given version of the fs
* @link http://php.net/manual/en/function.svn-fs-file-length.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return int What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_file_length ($fsroot, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Creates and returns a transaction root
* @link http://php.net/manual/en/function.svn-fs-txn-root.php
* @param resource $txn <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_txn_root ($txn) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Creates a new empty file, returns true if all is ok, false otherwise
* @link http://php.net/manual/en/function.svn-fs-make-file.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_make_file ($root, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Creates a new empty directory, returns true if all is ok, false otherwise
* @link http://php.net/manual/en/function.svn-fs-make-dir.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_make_dir ($root, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Creates and returns a stream that will be used to replace
* @link http://php.net/manual/en/function.svn-fs-apply-text.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_apply_text ($root, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Copies a file or a directory, returns true if all is ok, false otherwise
* @link http://php.net/manual/en/function.svn-fs-copy.php
* @param resource $from_root <p>
* Its description
* </p>
* @param string $from_path <p>
* Its description
* </p>
* @param resource $to_root <p>
* Its description
* </p>
* @param string $to_path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_copy ($from_root, $from_path, $to_root, $to_path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Deletes a file or a directory, return true if all is ok, false otherwise
* @link http://php.net/manual/en/function.svn-fs-delete.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_delete ($root, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Create a new transaction
* @link http://php.net/manual/en/function.svn-fs-begin-txn2.php
* @param resource $repos <p>
* Its description
* </p>
* @param int $rev <p>
* Its description
* </p>
* @return resource What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_begin_txn2 ($repos, $rev) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Return true if the path points to a directory, false otherwise
* @link http://php.net/manual/en/function.svn-fs-is-dir.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_is_dir ($root, $path) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Return true if the path points to a file, false otherwise
* @link http://php.net/manual/en/function.svn-fs-is-file.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_is_file ($root, $path) {}
/**
* (PECL svn >= 0.1.0)<br/>
* Returns the value of a property for a node
* @link http://php.net/manual/en/function.svn-fs-node-prop.php
* @param resource $fsroot <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @param string $propname <p>
* Its description
* </p>
* @return string What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_node_prop ($fsroot, $path, $propname) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Return true if everything is ok, false otherwise
* @link http://php.net/manual/en/function.svn-fs-change-node-prop.php
* @param resource $root <p>
* Its description
* </p>
* @param string $path <p>
* Its description
* </p>
* @param string $name <p>
* Its description
* </p>
* @param string $value <p>
* Its description
* </p>
* @return bool What the function returns, first on success, then on failure. See
* also the &#38;return.success; entity
*/
function svn_fs_change_node_prop ($root, $path, $name, $value) {}
/**
* (PECL svn >= 0.2.0)<br/>
* Return true if content is different, false otherwise
* @link http://php.net/manual/en/function.svn-fs-contents-changed.php
* @param resource $root1 <p>
* Its description
* </p>
* @param string $path1 <p>
* Its description
* </p>
* @param resource $root2 <p>
* Its description