Beispiel #1
0
 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))
Beispiel #2
0
 def store(self, resolver):
     super(ModernUnixMetadata, self).store(resolver)
     resolver.Set(self.urn, self.urn,
                  rdfvalue.URN(lexicon.standard11.birthTime),
                  rdfvalue.XSDDateTime(self.birthTime))