ContainerFileSystemCallbackContext.createFile
Method
interface ContainerFileSystemCallbackContext { // ... omitted for brevity createFile( name: string, contents?: string, sourcePath?: string, owner?: number, group?: number, mode?: number, continueOnError?: boolean): ContainerFileSystemItem;}Signature
method
createFileCreates a container file entry with inline contents or a host source path.
createFile( name: string, contents?: string, sourcePath?: string, owner?: number, group?: number, mode?: number, continueOnError?: boolean): ContainerFileSystemItemParameters
namestringcontentsstringoptionalsourcePathstringoptionalownernumberoptionalgroupnumberoptionalmodenumberoptionalcontinueOnErrorbooleanoptionalReturns
ContainerFileSystemItemDefined on
This method is defined on the following type: