diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index daa6482d318a7199786ea44fa1bb93acb4497bac..2c69380485c65e94dd4cd208ab2afc95b9ce9c24 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -4832,7 +4832,7 @@ declare module 'vscode' { } /** - * The `FileStat`-type represents metadata about a file. + * The `FileStat`-type represents metadata about a file */ export interface FileStat { /** @@ -4982,6 +4982,10 @@ declare module 'vscode' { /** * Retrieve metadata about a file. * + * Note that the metadata for symbolic links should be the metadata of the file they refer to. + * Still, the [SymbolicLink](#FileType.SymbolicLink)-type must be used in addition to the actual type, e.g. + * `FileType.SymbolicLink | FileType.Directory`. + * * @param uri The uri of the file to retrieve metadata about. * @return The file metadata about the file. * @throws [`FileNotFound`](#FileSystemError.FileNotFound) when `uri` doesn't exist.