Lines Matching refs:statobj
1024 def wstat(self, fid, statobj=None, **kwargs): argument
1025 if statobj is None:
1026 statobj = protocol.td.stat()
1028 statobj = statobj._copy()
1059 for field in statobj._fields:
1063 statobj[field] = kwargs.pop(field)
1065 if field in forbid or statobj[field] is None:
1066 statobj[field] = nochange[field]
1071 data = self.proto.pack_wirestat(statobj)
1079 statobj.qid = None
1080 for field in statobj._fields:
1082 statobj[field] = None
1083 elif field in nochange and statobj[field] == nochange[field]:
1084 statobj[field] = None
1085 self.badresp('wstat {0}={1}'.format(self.getpathX(fid), statobj),
1088 if statobj.name != b'':
1089 self.did_rename(fid, statobj.name)
1751 for statobj in self.uxreaddir_stat_fid(dfid):
1753 name = statobj.name
1756 if statobj.qid.type == protocol.td.QTDIR: