MCPcopy Create free account
hub / github.com/bodgit/sevenzip / FileInfo

Method FileInfo

struct.go:370–372  ·  view source on GitHub ↗

FileInfo returns an [fs.FileInfo] for the FileHeader.

()

Source from the content-addressed store, hash-verified

368
369// FileInfo returns an [fs.FileInfo] for the FileHeader.
370func (h *FileHeader) FileInfo() iofs.FileInfo {
371 return headerFileInfo{h}
372}
373
374type headerFileInfo struct {
375 fh *FileHeader

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected