Documentation
¶
Overview ¶
Package winfileinfo provides utilities for retrieving file information on Windows systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WinFile ¶
type WinFile struct {
// contains filtered or unexported fields
}
WinFile represents a file on the Windows filesystem.
func NewWinFile ¶
NewWinFile creates a new WinFile for the given path. It returns an error if the file does not exist or if there is an error checking the file.
func (*WinFile) GetFileInfo ¶
func (wf *WinFile) GetFileInfo() (*WinFileInfo, error)
GetFileInfo retrieves the file version information for the file. It returns a WinFileInfo struct containing the file version information.
func (*WinFile) GetFileTime ¶
func (wf *WinFile) GetFileTime() (*WinFileTime, error)
GetFileTime retrieves the file time information for the file. It returns a WinFileTime struct containing the file time information.
func (*WinFile) GetFixedFileInfo ¶
func (wf *WinFile) GetFixedFileInfo() (*windows.VS_FIXEDFILEINFO, error)
GetFixedFileInfo retrieves the fixed file information for the file. It returns a windows.VS_FIXEDFILEINFO struct containing the fixed file information.
type WinFileInfo ¶
type WinFileInfo struct { FileVersion WinFileVersion ProductVersion WinFileVersion }
type WinFileTime ¶
type WinFileVersion ¶
func (WinFileVersion) String ¶
func (f WinFileVersion) String() string