@oaklean/profiler-core
Version:
Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec
11 lines (10 loc) • 551 B
TypeScript
/// <reference types="node" />
import { UnifiedPath } from '../system/UnifiedPath';
import { PermissionTypes } from '../types';
export declare class PermissionHelper {
static changeFileOwnershipBackToUser(path: string): void;
static changeFilePermission(path: string, permissions: PermissionTypes): void;
static mkdirRecursivelyWithUserPermission(path: UnifiedPath | string): void;
static writeFileWithUserPermission(file: string, data: string | NodeJS.ArrayBufferView): void;
static checkWindowsAdminRights(): Promise<boolean>;
}