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
createFile Creates 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
namestringcontentsstringoptionalsourcePath stringoptionalownernumberoptionalgroupnumberoptionalmodenumberoptionalcontinueOnError booleanoptionalReturns
ContainerFileSystemItem Applies to
This method applies to the following types: