@@ -60,10 +60,11 @@ Contents ~
6060 6. The | xolox#misc#path#relative() | function
6161 7. The | xolox#misc#path#merge() | function
6262 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
6768 13. Manipulation of UNIX file permissions | misc-manipulation-of-unix-file-permissions |
6869 1. The | xolox#misc#perm#update() | function
6970 2. The | xolox#misc#perm#get() | function
@@ -166,8 +167,8 @@ For those who are curious: The function descriptions given below were extracted
166167from the source code of the miscellaneous scripts using the Python module
167168'vimdoctool.py' included in vim-tools [5].
168169
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 .
171172
172173-------------------------------------------------------------------------------
173174 *misc-asynchronous-vim-script-evaluation*
@@ -753,6 +754,14 @@ The *xolox#misc#path#commonprefix()* function
753754
754755Find the common prefix of path components in a list of pathnames.
755756
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+
756765-------------------------------------------------------------------------------
757766The *xolox#misc#path#encode()* function
758767
0 commit comments