提交 8aeffbca 编写于 作者: J Johannes Rieken

add comment about symlinks #47475

上级 9bb39f22
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册