Velocidex / go-ntfs

An NTFS file parser in Go
Apache License 2.0
64 stars 23 forks source link

Add Resident field to the Attribute Struct #89

Closed chalumeau-clara closed 7 months ago

chalumeau-clara commented 7 months ago

Add the Resident fields within the attribute structure :

type Attribute struct {
    Type     string
    TypeId   uint64
    Id       uint64
    Inode    string
    Size     int64
    Name     string
    Resident bool
}

In ModelMFTEntry add this line to append the resident attribute

Resident: attr.IsResident(),

Update test file to match

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.