webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
webkitpy.test.finder._DirectoryTree Class Reference
Inheritance diagram for webkitpy.test.finder._DirectoryTree:

Public Member Functions

def __init__ (self, filesystem, top_directory, starting_subdirectory)
 
def find_modules (self, suffixes, sub_directory=None)
 
def to_module (self, path)
 
def subpath (self, path)
 
def clean (self)
 

Public Attributes

 filesystem
 
 top_directory
 
 search_directory
 
 top_package
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.test.finder._DirectoryTree.__init__ (   self,
  filesystem,
  top_directory,
  starting_subdirectory 
)

Member Function Documentation

◆ clean()

def webkitpy.test.finder._DirectoryTree.clean (   self)
Delete all .pyc files in the tree that have no matching .py file.

◆ find_modules()

def webkitpy.test.finder._DirectoryTree.find_modules (   self,
  suffixes,
  sub_directory = None 
)

◆ subpath()

def webkitpy.test.finder._DirectoryTree.subpath (   self,
  path 
)
Returns the relative path from the top of the tree to the path, or None if the path is not under the top of the tree.

◆ to_module()

def webkitpy.test.finder._DirectoryTree.to_module (   self,
  path 
)

Member Data Documentation

◆ filesystem

webkitpy.test.finder._DirectoryTree.filesystem

◆ search_directory

webkitpy.test.finder._DirectoryTree.search_directory

◆ top_directory

webkitpy.test.finder._DirectoryTree.top_directory

◆ top_package

webkitpy.test.finder._DirectoryTree.top_package

The documentation for this class was generated from the following file: