MCPcopy Create free account
hub / github.com/coreboot/coreboot / GUID

Class GUID

util/riscv/sifive-gpt.py:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51# Generate a GUID from a string
52class GUID(uuid.UUID):
53 def __init__(self, string):
54 super().__init__(string)
55
56 def get_bytes(self):
57 return self.bytes_le
58
59DUMMY_GUID_DISK_UNIQUE = GUID('17145242-abaa-441d-916a-3f26c970aba2')
60DUMMY_GUID_PART_UNIQUE = GUID('7552133d-c8de-4a20-924c-0e85f5ea81f2')

Callers 2

sifive-gpt.pyFile · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected