mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
Add logging of readDirectory (#184549)
This commit is contained in:
@@ -306,9 +306,13 @@ function createServerHost(extensionUri: URI, logger: ts.server.Logger, apiClient
|
|||||||
return currentDirectory;
|
return currentDirectory;
|
||||||
},
|
},
|
||||||
getDirectories(path: string): string[] {
|
getDirectories(path: string): string[] {
|
||||||
|
logVerbose('fs.getDirectories', { path });
|
||||||
|
|
||||||
return getAccessibleFileSystemEntries(path).directories.slice();
|
return getAccessibleFileSystemEntries(path).directories.slice();
|
||||||
},
|
},
|
||||||
readDirectory(path: string, extensions?: readonly string[], excludes?: readonly string[], includes?: readonly string[], depth?: number): string[] {
|
readDirectory(path: string, extensions?: readonly string[], excludes?: readonly string[], includes?: readonly string[], depth?: number): string[] {
|
||||||
|
logVerbose('fs.readDirectory', { path });
|
||||||
|
|
||||||
return matchFiles(path, extensions, excludes, includes, /*useCaseSensitiveFileNames*/ true, currentDirectory, depth, getAccessibleFileSystemEntries, realpath);
|
return matchFiles(path, extensions, excludes, includes, /*useCaseSensitiveFileNames*/ true, currentDirectory, depth, getAccessibleFileSystemEntries, realpath);
|
||||||
},
|
},
|
||||||
getModifiedTime(path: string): Date | undefined {
|
getModifiedTime(path: string): Date | undefined {
|
||||||
|
|||||||
Reference in New Issue
Block a user