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
Copy file name to clipboardExpand all lines: cpp/ql/lib/semmle/code/cpp/File.qll
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,14 @@ class Container extends Locatable, @container {
34
34
*/
35
35
stringgetAbsolutePath(){none()}// overridden by subclasses
36
36
37
+
/**
38
+
* DEPRECATED: Use `getLocation` instead.
39
+
* Gets a URL representing the location of this container.
40
+
*
41
+
* For more information see [Providing URLs](https://codeql.github.com/docs/writing-codeql-queries/providing-locations-in-codeql-queries/#providing-urls).
42
+
*/
43
+
deprecatedstringgetURL(){none()}// overridden by subclasses
44
+
37
45
/**
38
46
* Gets the relative path of this file or folder from the root folder of the
39
47
* analyzed source location. The relative path of the root folder itself is
@@ -175,6 +183,12 @@ class Folder extends Container, @folder {
0 commit comments