MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / IsBlockInfo

Method IsBlockInfo

util/cpplint.py:2148–2157  ·  view source on GitHub ↗

Returns true if this block is a _BlockInfo. This is convenient for verifying that an object is an instance of a _BlockInfo, but not an instance of any of the derived classes. Returns: True for this class, False for derived classes.

(self)

Source from the content-addressed store, hash-verified

2146 pass
2147
2148 def IsBlockInfo(self):
2149 """Returns true if this block is a _BlockInfo.
2150
2151 This is convenient for verifying that an object is an instance of
2152 a _BlockInfo, but not an instance of any of the derived classes.
2153
2154 Returns:
2155 True for this class, False for derived classes.
2156 """
2157 return self.__class__ == _BlockInfo
2158
2159
2160class _ExternCInfo(_BlockInfo):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected