MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / is_before

Method is_before

src/licensedcode/spans.py:378–379  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

376 return self.start <= other.start and self.end >= other.end
377
378 def is_before(self, other):
379 return self.end < other.start
380
381 def is_after(self, other):
382 return self.start > other.end

Callers 1

distance_toMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected