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
diags.ExcludingLinterDiagnostics().Should().HaveDiagnostics(new[]{("BCP051",DiagnosticLevel.Error,"The specified path begins with \"/\". Files must be referenced using relative paths.")});
diags.ExcludingLinterDiagnostics().Should().HaveDiagnostics(new[]{("BCP085",DiagnosticLevel.Error,"The specified file path contains one ore more invalid path characters. The following are not permitted: \"\"\", \"*\", \":\", \"<\", \">\", \"?\", \"\\\", \"|\".")});
diags.ExcludingLinterDiagnostics().Should().HaveDiagnostics(new[]{("BCP086",DiagnosticLevel.Error,"The specified file path ends with an invalid character. The following are not permitted: \"\", \".\".")});
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/Functions/sys.json
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -931,6 +931,32 @@
931
931
"arg: array"
932
932
]
933
933
},
934
+
{
935
+
"name": "loadDirectoryFileInfo",
936
+
"description": "Loads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime.",
937
+
"fixedParameters": [
938
+
{
939
+
"name": "directoryPath",
940
+
"description": "The path to the directory that will be loaded.",
941
+
"type": "string",
942
+
"required": true
943
+
},
944
+
{
945
+
"name": "searchPattern",
946
+
"description": "The searchPattern is a glob pattern to narrow down the loaded files. If not provided, all files are loaded. Supports both any number of characters '*' and any single character '?' wildcards.",
"description": "Loads the specified file as base64 string. File loading occurs during compilation, not at runtime. The maximum allowed size is 96 Kb.",
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/symbols.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1553,6 +1553,27 @@
1553
1553
"command": "editor.action.triggerParameterHints"
1554
1554
}
1555
1555
},
1556
+
{
1557
+
"label": "loadDirectoryFileInfo",
1558
+
"kind": "function",
1559
+
"documentation": {
1560
+
"kind": "markdown",
1561
+
"value": "```bicep\nloadDirectoryFileInfo(directoryPath: string, [searchPattern: string]): any\n\n``` \nLoads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime. \n"
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/sysFunctions.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -776,6 +776,27 @@
776
776
"command": "editor.action.triggerParameterHints"
777
777
}
778
778
},
779
+
{
780
+
"label": "loadDirectoryFileInfo",
781
+
"kind": "function",
782
+
"documentation": {
783
+
"kind": "markdown",
784
+
"value": "```bicep\nloadDirectoryFileInfo(directoryPath: string, [searchPattern: string]): any\n\n``` \nLoads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime. \n"
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1450,6 +1450,27 @@
1450
1450
"command": "editor.action.triggerParameterHints"
1451
1451
}
1452
1452
},
1453
+
{
1454
+
"label": "loadDirectoryFileInfo",
1455
+
"kind": "function",
1456
+
"documentation": {
1457
+
"kind": "markdown",
1458
+
"value": "```bicep\nloadDirectoryFileInfo(directoryPath: string, [searchPattern: string]): any\n\n``` \nLoads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime. \n"
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX_if.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1450,6 +1450,27 @@
1450
1450
"command": "editor.action.triggerParameterHints"
1451
1451
}
1452
1452
},
1453
+
{
1454
+
"label": "loadDirectoryFileInfo",
1455
+
"kind": "function",
1456
+
"documentation": {
1457
+
"kind": "markdown",
1458
+
"value": "```bicep\nloadDirectoryFileInfo(directoryPath: string, [searchPattern: string]): any\n\n``` \nLoads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime. \n"
Copy file name to clipboardExpand all lines: src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -898,6 +898,27 @@
898
898
"command": "editor.action.triggerParameterHints"
899
899
}
900
900
},
901
+
{
902
+
"label": "loadDirectoryFileInfo",
903
+
"kind": "function",
904
+
"documentation": {
905
+
"kind": "markdown",
906
+
"value": "```bicep\nloadDirectoryFileInfo(directoryPath: string, [searchPattern: string]): any\n\n``` \nLoads basic information about a directory's files as bicep object. File loading occurs during compilation, not at runtime. \n"
0 commit comments