lib/DAV/backends/fsext/directory.js
function(name, data, enc, cbfscreatefile) {
        jsDAV_FS_Directory.createFile.call(this, name, data, enc,
            afterCreateFile.bind(this, name, cbfscreatefile));
    }
function(name, data, enc, cbfscreatefile) {
        jsDAV_FS_Directory.createFile.call(this, name, data, enc,
            afterCreateFile.bind(this, name, cbfscreatefile));
    }
function ( name , data , enc , cbfscreatefile ) { jsDAV_FS_Directory . createFile . call ( this , name , data , enc , afterCreateFile . bind ( this , name , cbfscreatefile ) ) ; }
Creates a new file in the directory

data is a Buffer resource

@param {String} name Name of the file
@param {Buffer} data Initial payload
@param {String} [enc]
@param {Function} cbfscreatefile
@return void
Creates a new file in the directory