Lines Matching refs:FileInfo
765 class FileInfo:
768 FileInfo provides easy access to the components of a file's path
1161 fileinfo = FileInfo(filename)
1162 file_path_from_root = fileinfo.RepositoryName()
2993 def _ClassifyInclude(fileinfo, include, is_system):
2997 fileinfo: The current file cpplint is running over. A FileInfo instance.
3005 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'stdio.h', True)
3007 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'string', True)
3009 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/foo.h', False)
3011 >>> _ClassifyInclude(FileInfo('foo/foo_unknown_extension.cc'),
3014 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/bar.h', False)
3032 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3068 fileinfo = FileInfo(filename)
3103 _ClassifyInclude(fileinfo, include, is_system))
3107 (error_message, fileinfo.BaseName()))
3756 abs_filename = FileInfo(filename).FullName()