MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / isTemporary

Method isTemporary

pager_lib/smb/base.py:3033–3037  ·  view source on GitHub ↗

Returns True if this is a temporary share that is not persisted for creation each time the file server initializes.

(self)

Source from the content-addressed store, hash-verified

3031
3032 @property
3033 def isTemporary(self):
3034 """
3035 Returns True if this is a temporary share that is not persisted for creation each time the file server initializes.
3036 """
3037 return bool(self._type & 0x40000000)
3038
3039 def __unicode__(self):
3040 return 'Shared device: %s (type:0x%02x comments:%s)' % (self.name, self.type, self.comments )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected