// Create an Attr struct with some initial values attr := &fuse.Attr{ Mode: os.ModeDir | 0755, Size: 4096, } // Update the Attr's modification time to the current time attr.Mtime = time.Now() // Retrieve the size of a file from its Attr attributes fi, _ := os.Stat("myfile.txt") attr := fuse.AttrFromStat(fi) size := attr.SizeOverall, the `bazil.org.fuse` package is useful for creating custom file systems in Go that can run entirely in userspace. Its `Attr` type allows for flexible management of file attributes.