Home | History | Annotate | Download | only in tools

Lines Matching refs:FileInfo

860 class FileInfo:
863 FileInfo provides easy access to the components of a file's path
1391 fileinfo = FileInfo(filename)
1392 file_path_from_root = fileinfo.RepositoryName()
3509 def _ClassifyInclude(fileinfo, include, is_system):
3513 fileinfo: The current file cpplint is running over. A FileInfo instance.
3521 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'stdio.h', True)
3523 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'string', True)
3525 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/foo.h', False)
3527 >>> _ClassifyInclude(FileInfo('foo/foo_unknown_extension.cc'),
3530 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/bar.h', False)
3547 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3583 fileinfo = FileInfo(filename)
3618 _ClassifyInclude(fileinfo, include, is_system))
3622 (error_message, fileinfo.BaseName()))
4430 abs_filename = FileInfo(filename).FullName()