Velocidex / go-ntfs

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

Add Resident field to the Attribute Struct #89

Closed chalumeau-clara closed 8 months ago

chalumeau-clara commented 8 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 8 months ago

CLA assistant check
All committers have signed the CLA.