mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Updated the custom build task
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
export module tk {
|
||||
export module io {
|
||||
export class FileSystemAccess {
|
||||
private keyFileType = "NSFileType";
|
||||
private keyModificationTime = "NSFileModificationDate";
|
||||
private keyReadonly = "NSFileImmutable";
|
||||
|
||||
public getReadonly(path: string): boolean {
|
||||
// TODO: Not implemented
|
||||
return false;
|
||||
@@ -77,6 +81,13 @@ export module tk {
|
||||
public writeText(path: string, content: string, onSuccess?: () => any, onError?: (error: any) => any) {
|
||||
// TODO: Not implemented
|
||||
}
|
||||
|
||||
//private getKnownPath(folderType: number): string {
|
||||
// var fileManager = Foundation.NSFileManager.defaultManager();
|
||||
|
||||
|
||||
// return folder;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user