mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
343 B
Plaintext
15 lines
343 B
Plaintext
import codeql.util.FilePath
|
|
|
|
class FilepathTest extends NormalizableFilepath {
|
|
FilepathTest() {
|
|
this =
|
|
[
|
|
"a/b/c", "a/b/../c", "a/..", "/a/b/../c", "a/b/c/../../../../d/e/../f", "", "/",
|
|
"./a/b/c/../d", "a/b//////c/./d/../e//d//", "/a/b/c/../../d/"
|
|
]
|
|
}
|
|
}
|
|
|
|
from FilepathTest s
|
|
select s, s.getNormalizedPath()
|