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
ContainerFileSystemItemApplies to
This method applies to the following types: