ZipTool

Static variables

@:value([".DS_Store", ".Spotlight-V100", ".Trashes", "ehthumbs.db", "Thumbs.db"])staticread onlyignore:ROArray<String> = [".DS_Store", ".Spotlight-V100", ".Trashes", "ehthumbs.db", "Thumbs.db"]

Static methods

@:value({ targetPath : "" })staticunpackFile(file:String, targetPath:String = "", ?extractFirstLevelDirs:Bool, ?filter:Array<String>, ?log:String ‑> Void):Void

Constructor

@:value({ root : null, compressLvl : 9, prefix : "", output : "" })new(output:String = "", prefix:String = "", compressLvl:Int = 9, ?root:String)

Variables

@:value(null)allowList:Array<String> = null

Methods

end():Void

needIgnore(entry:String):Bool

writeDir(dir:String):ZipTool

writeEntry(entry:String):ZipTool

writeFile(file:String):ZipTool

writeHash(hash:Map<String, Array<String>>):ZipTool

writeList(input:Array<String>):ZipTool

Inherited Variables

Defined by Logable

read onlyerrorActive:Bool

read onlylogActive:Bool

read onlyonError:Signal2<String, Null<PosInfos>>

read onlyonLog:Signal2<String, Null<PosInfos>>

Inherited Methods

Defined by Logable

inlinebench(?name:String, f:() ‑> Void, ?p:Null<PosInfos>):Void

inlinebenchAsync(?name:String, f:() ‑> Void ‑> Void, ?p:Null<PosInfos>):Void

inlinebenchComplete(name:String, ?p:Null<PosInfos>):Void

inlinebenchStart(name:String, ?p:Null<PosInfos>):Void

inlineerror(s:String, ?p:Null<PosInfos>):Void

inlineerrorf(fn:() ‑> String, ?p:Null<PosInfos>):Void

inlinelistenError(l:ILogable, ?id:String):Void

inlinelistenErrorAndLog(l:ILogable, ?id:String):Void

inlinelistenLog(l:ILogable, ?id:String):Void

inlinelog(s:String, ?p:Null<PosInfos>):Void

inlinelogf(fn:() ‑> String, ?p:Null<PosInfos>):Void

inlinestopTraceAll():Void

inlinestopTraceErrors():Void

inlinestopTraceLogs():Void

inlinetraceAll():Void

@:value({ date : false, time : true })inlinetraceErrors(time:Bool = true, date:Bool = false):Void

@:value({ date : false, time : true })inlinetraceLogs(time:Bool = true, date:Bool = false):Void