MCPcopy Index your code
hub / github.com/nodejs/node / main

Function main

tools/gyp/tools/pretty_gyp.py:140–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138
139
140def main():
141 if len(sys.argv) > 1:
142 data = open(sys.argv[1]).read().splitlines()
143 else:
144 data = sys.stdin.read().splitlines()
145 # Split up the double braces.
146 lines = split_double_braces(data)
147
148 # Indent and print the output.
149 prettyprint_input(lines)
150 return 0
151
152
153if __name__ == "__main__":

Callers 1

pretty_gyp.pyFile · 0.70

Calls 5

split_double_bracesFunction · 0.85
prettyprint_inputFunction · 0.85
openFunction · 0.50
splitlinesMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…