examples/phonegap1/platforms/ios/www/plugins/cordova-plugin-file/www/FileEntry.js
function(name, fullPath, fileSystem, nativeURL) {
    // remove trailing slash if it is present
    if (fullPath && /\/$/.test(fullPath)) {
        fullPath = fullPath.substring(0, fullPath.length - 1);
    }
    if (nativeURL && /\/$/.test(nativeURL)) {
        nativeURL = nativeURL.substring(0, nativeURL.length - 1);
    }

    FileEntry.__super__.constructor.apply(this, [true, false, name, fullPath, fileSystem, nativeURL]);
}
function(name, fullPath, fileSystem, nativeURL) {
    // remove trailing slash if it is present
    if (fullPath && /\/$/.test(fullPath)) {
        fullPath = fullPath.substring(0, fullPath.length - 1);
    }
    if (nativeURL && /\/$/.test(nativeURL)) {
        nativeURL = nativeURL.substring(0, nativeURL.length - 1);
    }

    FileEntry.__super__.constructor.apply(this, [true, false, name, fullPath, fileSystem, nativeURL]);
}
function ( name , fullPath , fileSystem , nativeURL ) { // remove trailing slash if it is present if ( fullPath && / \/$ / . test ( fullPath ) ) { fullPath = fullPath . substring ( 0 , fullPath . length - 1 ) ; } if ( nativeURL && / \/$ / . test ( nativeURL ) ) { nativeURL = nativeURL . substring ( 0 , nativeURL . length - 1 ) ; } FileEntry . __super__ . constructor . apply ( this , [ true , false , name , fullPath , fileSystem , nativeURL ] ) ; }
An interface representing a file on the file system.

{boolean} isFile always true (readonly)
{boolean} isDirectory always false (readonly)
{DOMString} name of the file, excluding the path leading to it (readonly)
{DOMString} fullPath the absolute full path to the file (readonly)
{FileSystem} filesystem on which the file resides (readonly)
An interface representing a file on the file system .