Merge from vscode 011858832762aaff245b2336fb1c38166e7a10fb (#4663)

This commit is contained in:
Anthony Dresser
2019-03-22 13:07:54 -07:00
committed by GitHub
parent f5c9174c2f
commit 4a87a24235
296 changed files with 2531 additions and 2472 deletions

View File

@@ -20,8 +20,8 @@ import { TernarySearchTree } from 'vs/base/common/map';
// Sun xVM VirtualBox 08-00-27
export const virtualMachineHint: { value(): number } = new class {
private _virtualMachineOUIs: TernarySearchTree<boolean>;
private _value: number;
private _virtualMachineOUIs?: TernarySearchTree<boolean>;
private _value?: number;
private _isVirtualMachineMacAdress(mac: string): boolean {
if (!this._virtualMachineOUIs) {

View File

@@ -59,6 +59,10 @@ export function lstat(path: string): Promise<fs.Stats> {
return nfcall(fs.lstat, path);
}
export function move(oldPath: string, newPath: string): Promise<void> {
return nfcall(extfs.mv, oldPath, newPath);
}
export function rename(oldPath: string, newPath: string): Promise<void> {
return nfcall(fs.rename, oldPath, newPath);
}