@@ -4854,17 +4854,14 @@ declare module 'vscode' {
48544854 * to a file.
48554855 */
48564856 type : FileType ;
4857-
48584857 /**
4859- * The creation timestamp in milliseconds.
4858+ * The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC .
48604859 */
48614860 ctime : number ;
4862-
48634861 /**
4864- * The modification timestamp in milliseconds.
4862+ * The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC .
48654863 */
48664864 mtime : number ;
4867-
48684865 /**
48694866 * The size in bytes.
48704867 */
@@ -4904,6 +4901,12 @@ declare module 'vscode' {
49044901 */
49054902 static FileIsADirectory ( messageOrUri ?: string | Uri ) : FileSystemError ;
49064903
4904+ /**
4905+ * Create an error to signal that an operation lacks required permissions.
4906+ * @param messageOrUri Message or uri.
4907+ */
4908+ static NoPermissions ( messageOrUri ?: string | Uri ) : FileSystemError ;
4909+
49074910 /**
49084911 * Creates a new filesystem error.
49094912 *
@@ -5043,6 +5046,7 @@ declare module 'vscode' {
50435046 * @param options Defines if existing files should be overwriten.
50445047 * @returns Metadata about the renamed file or a thenable that resolves to such.
50455048 * @throws [`FileNotFound`](#FileSystemError.FileNotFound) when `oldUri` doesn't exist.
5049+ * @throws [`FileNotFound`](#FileSystemError.FileNotFound) when parent of `newUri` doesn't exist
50465050 * @throws [`FileExists`](#FileSystemError.FileExists) when `newUri` exists and when the `overwrite` option is not `true`.
50475051 */
50485052 rename ( oldUri : Uri , newUri : Uri , options : { overwrite : boolean } ) : FileStat | Thenable < FileStat > ;
@@ -5055,8 +5059,9 @@ declare module 'vscode' {
50555059 * @param destination The destination location.
50565060 * @param options Defines if existing files should be overwriten.
50575061 * @returns Metadata about the copied file or a thenable that resolves to such.
5058- * @throws [`FileNotFound`](FileSystemError.FileNotFound) when `source` doesn't exist
5059- * @throws [`FileExists`](FileSystemError.FileExists) when `destination` exists and when the `overwrite` option is not `true`.
5062+ * @throws [`FileNotFound`](#FileSystemError.FileNotFound) when `source` doesn't exist
5063+ * @throws [`FileNotFound`](#FileSystemError.FileNotFound) when parent of `destination` doesn't exist
5064+ * @throws [`FileExists`](#FileSystemError.FileExists) when `destination` exists and when the `overwrite` option is not `true`.
50605065 */
50615066 copy ?( source : Uri , destination : Uri , options : { overwrite : boolean } ) : FileStat | Thenable < FileStat > ;
50625067 }
0 commit comments