{{{ getFileInfo()
498480
public function getFileInfo()
    {
        $fileInfo = $this->getCachedValue('fileInfo');
        if ($fileInfo === false) {

            $data = $this->dataProvider->getData();

            $fileInfo = array();

            foreach ($data as $packageId => $info) {
                $provides = $this->getProvidesForPackage($packageId);
                foreach ($provides as $file => $providesInfo) {
                    if (isset($providesInfo['Minify'])) {
                        $providesInfo['Minify'] = $this->parseBoolean(
                            $providesInfo['Minify']
                        );
                    } else {
                        $providesInfo['Minify'] = true;
                    }
                    $providesInfo['Package'] = $packageId;
                    $fileInfo[$file] = $providesInfo;
                }
            }

            $this->setCachedValue('fileInfo', $fileInfo);
        }

        return $fileInfo;
    }
298057
function FileInfo (options) {
  this.src = options.src
  this.resolved = options.resolved
  this.base = options.base
  this.dest = options.dest
  this.destBase = options.destBase
  this.watch = options.watch
}
326613
function () {

        var st     = stack()[2],
            result = {};

        result.filename = path.basename(st.getFileName());
        result.line = st.getLineNumber();

        return result;
    }
385685
public function getFileInfo()
    {
        $prefix = str_replace(yii::getAlias(yii::getAlias('@frontend/web')), '', yii::getAlias('@ueditor'));
        return array(
            "state" => $this->stateInfo,
            "url" => $prefix . $this->fullName,
            "title" => $this->fileName,
            "original" => $this->oriName,
            "type" => $this->fileType,
            "size" => $this->fileSize
        );
    }
546340
def info(path)
      info   = {}
      object = object! path

      info[:history] = history path
      info[:mode]    = object.mode
      info[:name]    = object.name
      info[:path]    = path
      info[:sha]     = object.id

      info[:created]  = info[:history].last.committed_date
      info[:modified] = info[:history].first.committed_date

      if object.is_a? Grit::Blob
        info[:mime] = object.mime_type
        info[:size] = object.size
        info[:type] = :blob
      else
        info[:path] += '/'
        info[:type] = :tree
      end

      info
    end
833325
FileStatus getFileInfo(String src, INode targetNode) {
    String srcs = normalizePath(src);
    readLock();
    try {
      if (targetNode == null) {
        return null;
      }
      else {
        return createFileStatus(srcs, targetNode);
      }
    } finally {
      readUnlock();
    }
  }
1044166
public String getInfo() {
    String retval = "S.M.A.R.T. disk attributes parser for disks ";
    for (String device : devices)
      retval += device + " ";
    return retval;
  }
1059753
public function getFileInfo()
    {
        $fullName = $this->getSetting('storeUrl') . '/' . str_replace('\\', '/', $this->fullName);
        return [
            "state" => $this->stateInfo,
            "url" => $fullName,
            "title" => $this->oriName,
            "original" => $this->oriName,
            "type" => $this->fileType,
            "size" => $this->fileSize
        ];
    }
318519
function getSourceInfo() {
  var exec = getStack()[3];

  var pos = exec.getFileName().lastIndexOf('\\');
  if(pos < 0) exec.getFileName().lastIndexOf('/');

  return {
    methodName: exec.getFunctionName() || 'anonymous',
    file: exec.getFileName().substring(pos + 1),
    lineNumber: exec.getLineNumber()
  };
}
728626
function(files) {
    var collection = {};
    files.forEach(function(file) {
        var filename = file.name;
        if (!collection.hasOwnProperty(filename) || collection[filename].version < file.version) {
            collection[filename] = file;
        }
    });
    return Object.keys(collection).map(function(name) {
        return collection[name];
    });
}
159255
public function getFileInfo()
    {
        return array(
            "originalName" => $this->oriName ,
            "name" => $this->fileName ,
            "url" => $this->fullName ,
            "size" => $this->fileSize ,
            "type" => $this->fileType ,
            "state" => $this->stateInfo
        );
    }
84690
public alluxio.grpc.FileInfoOrBuilder getFileInfoOrBuilder() {
    return fileInfo_ == null ? alluxio.grpc.FileInfo.getDefaultInstance() : fileInfo_;
  }
1118192
function() {
				var file = this.getSource().getSource();
				return o.inArray(o.typeOf(file), ['blob', 'file']) !== -1 ? file : null;
			}
828591
function() {
			var content = '', files = [];
			if (this.$element[0].files === undefined) {
				files[0] = {
					'name' : this.$element[0] && this.$element[0].value
				};
			} else {
				files = this.$element[0].files;
			}

			for (var i = 0; i < files.length; i++) {
				content += files[i].name.split("\\").pop() + ', ';
			}

			if (content !== '') {
				this.$elementFilestyle.find(':text').val(content.replace(/\, $/g, ''));
			} else {
				this.$elementFilestyle.find(':text').val('');
			}
			
			return files;
		}
784447
public FileInfo getFileInfo() throws IOException {

        try {
            load(false);
            if (m_resource.isFile()) {

                //  Fill in a file information object for this file/directory

                long flen = m_resource.getLength();

                //long alloc = (flen + 512L) & 0xFFFFFFFFFFFFFE00L;
                long alloc = flen;
                int fattr = 0;
                if (m_cms.getRequestContext().getCurrentProject().isOnlineProject()) {
                    fattr += FileAttribute.ReadOnly;
                }
                //  Create the file information
                FileInfo finfo = new FileInfo(m_resource.getName(), flen, fattr);
                long fdate = m_resource.getDateLastModified();
                finfo.setModifyDateTime(fdate);
                finfo.setAllocationSize(alloc);
                finfo.setFileId(m_resource.getStructureId().hashCode());
                finfo.setCreationDateTime(m_resource.getDateCreated());
                finfo.setChangeDateTime(fdate);
                return finfo;
            } else {

                //  Fill in a file information object for this directory

                int fattr = FileAttribute.Directory;
                if (m_cms.getRequestContext().getCurrentProject().isOnlineProject()) {
                    fattr += FileAttribute.ReadOnly;
                }
                // Can't use negative file size here, since this stops Windows 7 from connecting
                FileInfo finfo = new FileInfo(m_resource.getName(), 1, fattr);
                long fdate = m_resource.getDateLastModified();
                finfo.setModifyDateTime(fdate);
                finfo.setAllocationSize(1);
                finfo.setFileId(m_resource.getStructureId().hashCode());
                finfo.setCreationDateTime(m_resource.getDateCreated());
                finfo.setChangeDateTime(fdate);
                return finfo;

            }
        } catch (CmsException e) {
            throw CmsJlanDiskInterface.convertCmsException(e);

        }
    }
251539
function () {

		if (packageInfo) return packageInfo;

		var fs = require('fs');
		packageInfo = JSON.parse(fs.readFileSync(__dirname + '/../package.json', 'utf8'));

		return packageInfo;

	}
1205180
async function fsinfo(format){

    // try to establish a connection to the module
    await getConnection();

    const {metadata, files} = await _nodeMcuConnector.fsinfo();

    // json output - third party applications
    if (format == 'json') {
        writeOutput(JSON.stringify({
            files: files,
            meta: metadata
        }));

    // raw format - suitable for use in bash scripts
    }else if (format == 'raw'){
        // print fileinfo
        files.forEach(function(file){
            writeOutput(file.name);
        });

    }else{
        _mculogger.log('Free Disk Space: ' + metadata.remaining + ' KB | Total: ' + metadata.total + ' KB | ' + files.length + ' Files');

        // files found ?
        if (files.length==0){
            _mculogger.log('No Files found - have you created the file-system?');
        }else{
            _mculogger.log('Files stored into Flash (SPIFFS)');

            // print fileinfo
            files.forEach(function(file){
                _mculogger.log(' - ' + file.name + ' (' + file.size + ' Bytes)');
            });
        }
    }
}