]> git.proxmox.com Git - libgit2.git/commit - src/path.c
path: extract `win32_path_prefix` function
authorPatrick Steinhardt <ps@pks.im>
Tue, 7 Feb 2017 19:21:38 +0000 (20:21 +0100)
committerPatrick Steinhardt <ps@pks.im>
Wed, 8 Feb 2017 11:03:45 +0000 (12:03 +0100)
commitd8c06070a87ced23712eaa2b55a0cebb148f9f9a
tree31cf5a78c324bdeda6debf41aafe91943b60fb77
parent887c1931a293cc6bb2687fea7a8303ab3e8fbc7e
path: extract `win32_path_prefix` function

Extract code which determines if a path is at a Windows system's root.
This incluses drive prefixes (e.g. "C:\") as well as network computer
names (e.g. "//computername/").
src/path.c