예제 #1
0
파일: logical.py 프로젝트: yazici/pyaff4
 def store(self, resolver):
     resolver.Set(self.urn, rdfvalue.URN(lexicon.AFF4_STREAM_SIZE),
                  rdfvalue.XSDInteger(self.length))
     resolver.Set(self.urn, rdfvalue.URN(lexicon.standard11.lastWritten),
                  rdfvalue.XSDDateTime(self.lastWritten))
     resolver.Set(self.urn, rdfvalue.URN(lexicon.standard11.lastAccessed),
                  rdfvalue.XSDDateTime(self.lastAccessed))
     resolver.Set(self.urn, rdfvalue.URN(lexicon.standard11.birthTime),
                  rdfvalue.XSDDateTime(self.birthTime))
예제 #2
0
파일: logical.py 프로젝트: ydkhatri/pyaff4
 def store(self, resolver):
     super(ModernUnixMetadata, self).store(resolver)
     resolver.Set(self.urn, self.urn,
                  rdfvalue.URN(lexicon.standard11.birthTime),
                  rdfvalue.XSDDateTime(self.birthTime))