mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Add overlay builtins to python dbscheme
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
"fragments": [
|
"fragments": [
|
||||||
"/*- Compilations -*/",
|
"/*- Compilations -*/",
|
||||||
"/*- External data -*/",
|
"/*- External data -*/",
|
||||||
|
"/*- Overlay support -*/",
|
||||||
"/*- Files and folders -*/",
|
"/*- Files and folders -*/",
|
||||||
"/*- Diagnostic messages -*/",
|
"/*- Diagnostic messages -*/",
|
||||||
"/*- Diagnostic messages: severity -*/",
|
"/*- Diagnostic messages: severity -*/",
|
||||||
|
|||||||
@@ -40,6 +40,22 @@ externalData(
|
|||||||
string value : string ref
|
string value : string ref
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*- Overlay support -*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The CLI will automatically emit the tuple `databaseMetadata("isOverlay", "true")`,
|
||||||
|
* along with an `overlayChangedFiles` tuple for each new/modified/deleted file,
|
||||||
|
* when building an overlay database, and these can be used by the discard predicates.
|
||||||
|
*/
|
||||||
|
databaseMetadata(
|
||||||
|
string metadataKey : string ref,
|
||||||
|
string value : string ref
|
||||||
|
);
|
||||||
|
|
||||||
|
overlayChangedFiles(
|
||||||
|
string path : string ref
|
||||||
|
);
|
||||||
|
|
||||||
/*- DEPRECATED: Snapshot date -*/
|
/*- DEPRECATED: Snapshot date -*/
|
||||||
|
|
||||||
snapshotDate(unique date snapshotDate : date ref);
|
snapshotDate(unique date snapshotDate : date ref);
|
||||||
|
|||||||
@@ -47,6 +47,22 @@ externalData(
|
|||||||
string value : string ref
|
string value : string ref
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*- Overlay support -*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The CLI will automatically emit the tuple `databaseMetadata("isOverlay", "true")`,
|
||||||
|
* along with an `overlayChangedFiles` tuple for each new/modified/deleted file,
|
||||||
|
* when building an overlay database, and these can be used by the discard predicates.
|
||||||
|
*/
|
||||||
|
databaseMetadata(
|
||||||
|
string metadataKey : string ref,
|
||||||
|
string value : string ref
|
||||||
|
);
|
||||||
|
|
||||||
|
overlayChangedFiles(
|
||||||
|
string path : string ref
|
||||||
|
);
|
||||||
|
|
||||||
/*- DEPRECATED: Snapshot date -*/
|
/*- DEPRECATED: Snapshot date -*/
|
||||||
|
|
||||||
snapshotDate(unique date snapshotDate : date ref);
|
snapshotDate(unique date snapshotDate : date ref);
|
||||||
|
|||||||
Reference in New Issue
Block a user