MCPcopy Create free account
hub / github.com/boostorg/build / adjust_names

Method adjust_names

v2/test/BoostBuild.py:812–818  ·  view source on GitHub ↗
(self, names)

Source from the content-addressed store, hash-verified

810 # Acceps either a string or a list of strings and returns a list of
811 # strings. Adjusts suffixes on all names.
812 def adjust_names(self, names):
813 if names.__class__ is str:
814 names = [names]
815 r = map(self.adjust_lib_name, names)
816 r = map(self.adjust_suffix, r)
817 r = map(lambda x, t=self.toolset: x.replace("$toolset", t + "*"), r)
818 return r
819
820 def native_file_name(self, name):
821 name = self.adjust_names(name)[0]

Callers 11

expect_additionMethod · 0.95
expect_removalMethod · 0.95
expect_modificationMethod · 0.95
expect_touchMethod · 0.95
expect_nothingMethod · 0.95
native_file_nameMethod · 0.95
__read_fileMethod · 0.95
notfile.pyFile · 0.80
example_gettext.pyFile · 0.80
dll_path.pyFile · 0.80
library_chain.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected