Complete residential site build with Docker Compose & Gitea Actions deployment
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import { FilePatternAssociation } from '../utils/filePatternAssociation';
|
||||
export function setKubernetesParserOption(jsonDocuments, option) {
|
||||
for (const jsonDoc of jsonDocuments) {
|
||||
jsonDoc.isKubernetes = option;
|
||||
}
|
||||
}
|
||||
export function isKubernetesAssociatedDocument(textDocument, paths) {
|
||||
for (const path in paths) {
|
||||
const globPath = paths[path];
|
||||
const fpa = new FilePatternAssociation(globPath);
|
||||
if (fpa.matchesPattern(textDocument.uri)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
//# sourceMappingURL=isKubernetes.js.map
|
||||
Reference in New Issue
Block a user