MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / dotnet

Method dotnet

scripts/update_copyright.py:52–56  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

50 return self.dotnet(file) if file.endswith("cs") else self._prefix + self.commented_notice_lines
51
52 def dotnet(self, file):
53 file_name = os.path.basename(file)
54 first = f'{self._comment_characters} <copyright file="{file_name}" company="Selenium Committers">\n'
55 last = f"{self._comment_characters} </copyright>"
56 return [first] + self.commented_notice_lines + [last]
57
58 @property
59 def commented_notice_lines(self):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected