You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Provides classes for working with files and folders. */
2
2
3
3
import Location
4
+
privateimport codeql.util.FileSystem
4
5
5
-
/** A file or folder. */
6
-
classContainerextends @container,Top{
7
-
/**
8
-
* Gets the absolute, canonical path of this container, using forward slashes
9
-
* as path separator.
10
-
*
11
-
* The path starts with a _root prefix_ followed by zero or more _path
12
-
* segments_ separated by forward slashes.
13
-
*
14
-
* The root prefix is of one of the following forms:
15
-
*
16
-
* 1. A single forward slash `/` (Unix-style)
17
-
* 2. An upper-case drive letter followed by a colon and a forward slash,
18
-
* such as `C:/` (Windows-style)
19
-
* 3. Two forward slashes, a computer name, and then another forward slash,
20
-
* such as `//FileServer/` (UNC-style)
21
-
*
22
-
* Path segments are never empty (that is, absolute paths never contain two
23
-
* contiguous slashes, except as part of a UNC-style root prefix). Also, path
24
-
* segments never contain forward slashes, and no path segment is of the
25
-
* form `.` (one dot) or `..` (two dots).
26
-
*
27
-
* Note that an absolute path never ends with a forward slash, except if it is
28
-
* a bare root prefix, that is, the path has no path segments. A container
29
-
* whose absolute path has no segments is always a `Folder`, not a `File`.
30
-
*/
31
-
abstractstringgetAbsolutePath();
6
+
privatemodule Input implementsInputSig{
7
+
abstractclassContainerBaseextends @container {
8
+
abstractstringgetAbsolutePath();
32
9
33
-
/**
34
-
* Gets a URL representing the location of this container.
35
-
*
36
-
* For more information see [Providing URLs](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/#providing-urls).
0 commit comments