@@ -60,10 +60,11 @@ Contents ~
60
60
6. The | xolox#misc#path#relative() | function
61
61
7. The | xolox#misc#path#merge() | function
62
62
8. The | xolox#misc#path#commonprefix() | function
63
- 9. The | xolox#misc#path#encode() | function
64
- 10. The | xolox#misc#path#decode() | function
65
- 11. The | xolox#misc#path#is_relative() | function
66
- 12. The | xolox#misc#path#tempdir() | function
63
+ 9. The | xolox#misc#path#starts_with() | function
64
+ 10. The | xolox#misc#path#encode() | function
65
+ 11. The | xolox#misc#path#decode() | function
66
+ 12. The | xolox#misc#path#is_relative() | function
67
+ 13. The | xolox#misc#path#tempdir() | function
67
68
13. Manipulation of UNIX file permissions | misc-manipulation-of-unix-file-permissions |
68
69
1. The | xolox#misc#perm#update() | function
69
70
2. The | xolox#misc#perm#get() | function
@@ -166,8 +167,8 @@ For those who are curious: The function descriptions given below were extracted
166
167
from the source code of the miscellaneous scripts using the Python module
167
168
'vimdoctool.py' included in vim-tools [5].
168
169
169
- The documentation of the 92 functions below was extracted from 19 Vim scripts
170
- on June 30 , 2014 at 02:47 .
170
+ The documentation of the 93 functions below was extracted from 19 Vim scripts
171
+ on July 6 , 2014 at 18:28 .
171
172
172
173
-------------------------------------------------------------------------------
173
174
*misc-asynchronous-vim-script-evaluation*
@@ -753,6 +754,14 @@ The *xolox#misc#path#commonprefix()* function
753
754
754
755
Find the common prefix of path components in a list of pathnames.
755
756
757
+ -------------------------------------------------------------------------------
758
+ The *xolox#misc#path#starts_with()* function
759
+
760
+ Check whether the first pathname starts with the second pathname (expected to
761
+ be a directory). This does not perform a regular string comparison; first it
762
+ normalizes both pathnames, then it splits them into their pathname segments and
763
+ then it compares the segments.
764
+
756
765
-------------------------------------------------------------------------------
757
766
The *xolox#misc#path#encode()* function
758
767
0 commit comments