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 git_modified_files ()
 
def indent (source, debug, level)
 
def indent_files (files, diff=False, debug=False, level=0, inplace=False)
 
def parse_patchset (generator)
 
def remove_trailing_whitespace_changes (patch_generator)
 
def run_as_main ()
 
def uncrustify_config_file (level)
 

Function Documentation

◆ copy_file()

def check-style.copy_file (   filename)

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

◆ git_modified_files()

def check-style.git_modified_files ( )

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

Referenced by run_as_main().

+ Here is the caller graph for this function:

◆ indent()

◆ indent_files()

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

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

References indent().

Referenced by run_as_main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parse_patchset()

def check-style.parse_patchset (   generator)

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

Referenced by remove_trailing_whitespace_changes().

+ Here is the caller graph for this function:

◆ remove_trailing_whitespace_changes()

def check-style.remove_trailing_whitespace_changes (   patch_generator)

Definition at line 413 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:

◆ run_as_main()

def check-style.run_as_main ( )

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

References git_modified_files(), and indent_files().

+ Here is the call graph for this function:

◆ uncrustify_config_file()

def check-style.uncrustify_config_file (   level)

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

Referenced by indent().

+ Here is the caller graph for this function: