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

Method isReadOnly

pager_lib/smb/base.py:3086–3088  ·  view source on GitHub ↗

A convenient property to return True if this file resource is read-only on the remote server

(self)

Source from the content-addressed store, hash-verified

3084
3085 @property
3086 def isReadOnly(self):
3087 """A convenient property to return True if this file resource is read-only on the remote server"""
3088 return bool(self.file_attributes & ATTR_READONLY)
3089
3090 @property
3091 def isNormal(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected