Home | History | Annotate | Download | only in scripts

Lines Matching refs:FileInfo

735 class FileInfo:
738 FileInfo provides easy access to the components of a file's path
1128 fileinfo = FileInfo(filename)
1129 file_path_from_root = fileinfo.RepositoryName()
2957 def _ClassifyInclude(fileinfo, include, is_system):
2961 fileinfo: The current file cpplint is running over. A FileInfo instance.
2969 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'stdio.h', True)
2971 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'string', True)
2973 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/foo.h', False)
2975 >>> _ClassifyInclude(FileInfo('foo/foo_unknown_extension.cc'),
2978 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/bar.h', False)
2996 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3032 fileinfo = FileInfo(filename)
3067 _ClassifyInclude(fileinfo, include, is_system))
3071 (error_message, fileinfo.BaseName()))
3713 abs_filename = FileInfo(filename).FullName()