此组件由处于管理模式的软盘或硬盘驱动器提供。(对于非管理模式,请参见驱动器组件)
组件名:filesystem。
回调函数:
spaceUsed():numberopen(path:string[, mode:string='r']):numberseek(handle:number, whence:string, offset:number):numbermakeDirectory(path:string):booleanexists(path:string):booleanisReadOnly():booleanwrite(handle:number, value:string):booleanspaceTotal():numberisDirectory(path:string):booleanrename(from:string, to:string):booleanlist(path:string):tablelastModified(path:string):numbergetLabel():stringremove(path:string):booleanclose(handle:number)size(path:string):numberread(handle:number, count:number):string or nilEOF则返回nil。setLabel(value:string):string