MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / chmodAsync

Function chmodAsync

Extension/src/common.ts:879–888  ·  view source on GitHub ↗
(path: fs.PathLike, mode: fs.Mode)

Source from the content-addressed store, hash-verified

877}
878
879export async function chmodAsync(path: fs.PathLike, mode: fs.Mode): Promise<void> {
880 return new Promise<void>((resolve, reject) => {
881 fs.chmod(path, mode, (err: NodeJS.ErrnoException | null) => {
882 if (err) {
883 return reject(err);
884 }
885 return resolve();
886 });
887 });
888}
889
890export function removePotentialPII(str: string): string {
891 const words: string[] = str.split(" ");

Callers 1

allowExecutionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected