MCPcopy Create free account
hub / github.com/nodejs/node / get_spec_var

Function get_spec_var

deps/v8/third_party/abseil-cpp/absl/abseil.podspec.gen.py:132–134  ·  view source on GitHub ↗

Returns the name of variable for spec with given depth.

(depth)

Source from the content-addressed store, hash-verified

130
131
132def get_spec_var(depth):
133 """Returns the name of variable for spec with given depth."""
134 return "s" if depth == 0 else "s{}".format(depth)
135
136
137def get_spec_name(label):

Callers 2

write_podspec_mapFunction · 0.85
write_podspec_ruleFunction · 0.85

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected