A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
check-style Namespace Reference

Classes

class  Patch
 
class  PatchChunk
 
class  PatchChunkLine
 

Functions

def copy_file
 
def hg_modified_files
 
def indent
 
def indent_files
 
def parse_patchset
 
def remove_trailing_whitespace_changes
 
def run_as_hg_hook
 
def run_as_main
 
def uncrustify_config_file
 

Function Documentation

def check-style.copy_file (   filename)

Definition at line 17 of file check-style.py.

def check-style.hg_modified_files ( )

Definition at line 13 of file check-style.py.

Referenced by run_as_hg_hook(), and run_as_main().

+ Here is the caller graph for this function:

def check-style.indent (   source,
  debug,
  level 
)

Definition at line 286 of file check-style.py.

References remove_trailing_whitespace_changes(), and uncrustify_config_file().

Referenced by indent_files().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def check-style.indent_files (   files,
  diff = False,
  debug = False,
  level = 0,
  inplace = False 
)

Definition at line 347 of file check-style.py.

References indent().

Referenced by run_as_hg_hook(), and run_as_main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def check-style.parse_patchset (   generator)

Definition at line 221 of file check-style.py.

Referenced by remove_trailing_whitespace_changes().

+ Here is the caller graph for this function:

def check-style.remove_trailing_whitespace_changes (   patch_generator)

Definition at line 267 of file check-style.py.

References parse_patchset().

Referenced by indent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def check-style.run_as_hg_hook (   ui,
  repo,
  kwargs 
)

Definition at line 378 of file check-style.py.

References hg_modified_files(), and indent_files().

+ Here is the call graph for this function:

def check-style.run_as_main ( )

Definition at line 388 of file check-style.py.

References hg_modified_files(), and indent_files().

+ Here is the call graph for this function:

def check-style.uncrustify_config_file (   level)

Definition at line 28 of file check-style.py.

Referenced by indent().

+ Here is the caller graph for this function: