MCPcopy Create free account
hub / github.com/Syncplay/syncplay / __lt__

Method __lt__

syncplay/client.py:1334–1338  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1332 return sameName and sameSize and sameDuration
1333
1334 def __lt__(self, other):
1335 if self.isController() == other.isController():
1336 return self.username.lower() < other.username.lower()
1337 else:
1338 return self.isController() > other.isController()
1339
1340 def __repr__(self, *args, **kwargs):
1341 if self.file:

Callers

nothing calls this directly

Calls 1

isControllerMethod · 0.95

Tested by

no test coverage detected