Home
last modified time | relevance | path

Searched refs:isPathSeparator (Results 1 – 25 of 211) sorted by relevance

123456789

/dports/devel/mutagen/mutagen-0.11.8/pkg/filesystem/internal/third_party/os/
H A Dpath_windows.go43 func isPathSeparator(c uint8) bool { func
57 return isPathSeparator(path[0])
72 if l := len(path); l >= 5 && isPathSeparator(path[0]) && isPathSeparator(path[1]) &&
73 !isPathSeparator(path[2]) && path[2] != '.' {
77 if isPathSeparator(path[n]) {
80 if !isPathSeparator(path[n]) {
85 if isPathSeparator(path[n]) {
152 case isPathSeparator(path[r]):
155 case path[r] == '.' && (r+1 == n || isPathSeparator(path[r+1])):
158 case r+1 < n && path[r] == '.' && path[r+1] == '.' && (r+2 == n || isPathSeparator(path[r+2])):
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/easy-file-0.2.2/System/EasyFile/
H A DFilePath.hs13 pathSeparator, pathSeparators, isPathSeparator,
111 isPathSeparator :: Char -> Bool
112 isPathSeparator = (`elem` pathSeparators) function
313 where (c,d) = span isPathSeparator xs
337 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
346 where (a,b) = break isPathSeparator name
550 (a,b) = break isPathSeparator y
634 f "" y = dropWhile isPathSeparator y
639 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
640 where (a,b) = break isPathSeparator $ dropWhile isPathSeparator x
[all …]
/dports/devel/stack/stack-2.7.3/test/integration/tests/mutable-deps/files/filepath-1.4.2.1/System/FilePath/
H A DInternal.hs68 pathSeparator, pathSeparators, isPathSeparator,
157 isPathSeparator :: Char -> Bool
158 isPathSeparator '/' = True function
159 isPathSeparator '\\' = isWindows function
160 isPathSeparator _ = False function
428 where (c,d) = span isPathSeparator xs
452 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
461 where (a,b) = break isPathSeparator name
816 f "" y = dropWhile isPathSeparator y
821 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
[all …]
/dports/lang/ghc/ghc-8.10.7/libraries/filepath/System/FilePath/
H A DInternal.hs68 pathSeparator, pathSeparators, isPathSeparator,
156 isPathSeparator :: Char -> Bool
157 isPathSeparator '/' = True function
158 isPathSeparator '\\' = isWindows function
159 isPathSeparator _ = False function
427 where (c,d) = span isPathSeparator xs
451 readDriveShare (s1:s2:xs) | isPathSeparator s1 && isPathSeparator s2 =
460 where (a,b) = break isPathSeparator name
815 f "" y = dropWhile isPathSeparator y
820 g x = (dropWhile isPathSeparator a, dropWhile isPathSeparator b)
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/Glob-0.10.0/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/Glob-0.10.1/tests/Tests/
H A DMatcher.hs10 import System.FilePath (isExtSeparator, isPathSeparator)
32 if (not (null p0) && isPathSeparator (head p0)) /=
33 (not (null pth0) && isPathSeparator (head pth0))
34 then (dropWhile isPathSeparator p0, dropWhile isPathSeparator pth0)
43 if isPathSeparator (head p)
44 && not (null pth) && isPathSeparator (head pth)
63 in not (null p || isPathSeparator x || isExtSeparator x)
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/evanw/esbuild/internal/fs/
H A Dfilepath.go109 func (fp goFilepath) isPathSeparator(c uint8) bool { func
174 for end < len(path) && !fp.isPathSeparator(path[end]) {
198 if fp.isPathSeparator(dest[r]) {
263 if v < len(link) && fp.isPathSeparator(link[v]) {
269 } else if len(link) > 0 && fp.isPathSeparator(link[0]) {
278 if fp.isPathSeparator(dest[r]) {
376 rooted := fp.isPathSeparator(path[0])
393 case fp.isPathSeparator(path[r]):
425 for ; r < n && !fp.isPathSeparator(path[r]); r++ {
463 for i >= 0 && !fp.isPathSeparator(path[i]) {
[all …]
/dports/devel/esbuild/esbuild-0.12.23/internal/fs/
H A Dfilepath.go109 func (fp goFilepath) isPathSeparator(c uint8) bool { func
174 for end < len(path) && !fp.isPathSeparator(path[end]) {
198 if fp.isPathSeparator(dest[r]) {
263 if v < len(link) && fp.isPathSeparator(link[v]) {
269 } else if len(link) > 0 && fp.isPathSeparator(link[0]) {
278 if fp.isPathSeparator(dest[r]) {
376 rooted := fp.isPathSeparator(path[0])
393 case fp.isPathSeparator(path[r]):
425 for ; r < n && !fp.isPathSeparator(path[r]); r++ {
463 for i >= 0 && !fp.isPathSeparator(path[i]) {
[all …]
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/filepath-bytestring-1.4.2.1.6/System/FilePath/
H A DInternal.hs242 isPathSeparator :: Word8 -> Bool
243 isPathSeparator 47 = True function
244 isPathSeparator 92 = isWindows function
245 isPathSeparator _ = False function
531 (c,d) = B.span isPathSeparator xs
581 if isPathSeparator s1 && isPathSeparator s2
726 Just (_i, l) -> isPathSeparator l
732 Just (h,_t) -> isPathSeparator h
861 (a,b) = B.break isPathSeparator y
947 g x = (B.dropWhile isPathSeparator a, B.dropWhile isPathSeparator b)
[all …]

123456789