Flutter Engine
The Flutter Engine
Functions | Variables
tools.reformat-json Namespace Reference

Functions

def Reformat (filename)
 

Variables

 GM_DIRECTORY
 

Function Documentation

◆ Reformat()

def tools.reformat-json.Reformat (   filename)

Definition at line 45 of file reformat-json.py.

45def Reformat(filename):
46 print('Reformatting file %s...' % filename)
47 gm_json.WriteToFile(gm_json.LoadFromFile(filename), filename)
48
def print(*args, **kwargs)
Definition: run_tests.py:49
def Reformat(filename)

Variable Documentation

◆ GM_DIRECTORY

tools.reformat-json.GM_DIRECTORY
Initial value:
1= os.path.realpath(
2 os.path.join(os.path.dirname(os.path.dirname(__file__)), 'gm'))

Definition at line 39 of file reformat-json.py.