MCPcopy Index your code
hub / github.com/gitless-vcs/gitless / FixedOffset

Class FixedOffset

gitless/cli/pprint.py:182–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180
181
182class FixedOffset(tzinfo):
183
184 def __init__(self, offset):
185 super(FixedOffset, self).__init__()
186 self.__offset = timedelta(minutes=offset)
187
188 def utcoffset(self, _):
189 return self.__offset
190
191 def dst(self, _):
192 return timedelta(0)
193
194
195def diff(patch, stream=sys.stdout.write):

Callers 1

commitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected