A Discrete-Event Network Simulator
API
check-style Namespace Reference

Classes

class  Patch
 Patch class. More...
 
class  PatchChunk
 PatchChunk class. More...
 
class  PatchChunkLine
 PatchChunkLine class. More...
 

Functions

def copy_file (filename)
 
def hg_modified_files ()
 
def indent (source, debug, level)
 
def indent_files
 
def parse_patchset (generator)
 
def remove_trailing_whitespace_changes (patch_generator)
 
def run_as_hg_hook (ui, repo, kwargs)
 
def run_as_main ()
 
def uncrustify_config_file (level)
 

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 424 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 485 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 359 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 405 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 516 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 526 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: