<commit_before>package file

import (
	"os"
	"path/filepath"
	"time"
)

// winExFileInfo stores windows specific file information.
// At the moment all the information we need is available
// through the Sys() interface.
type winExFileInfo struct {
	os.FileInfo
	fid  FID
	path string
}

// CTime returns the CreationTime from Win32FileAttributeData.
func (fi *winExFileInfo) CTime() time.Time {
	return time.Unix(0, fi.Sys().(syscall.Win32FileAttributeData).CreationTime)
}

// ATime returns the LastAccessTime from Win32FileAttributeData.
func (fi *winExFileInfo) ATime() time.Time {
	return time.Unix(0, fi.Sys().(syscall.Win32FileAttributeData).LastAccessTime)
}

// FID returns the windows version of a file id. The FID for Windows
// is the VolumeSerialNumber (IDHigh) and the FileIndexHigh/Low (IDLow)
func (fi *winExFileInfo) FID() FID {<commit_msg>Include syscall package<commit_after>package file

import (
	"os"
	"path/filepath"
	"syscall"
	"time"
)

// winExFileInfo stores windows specific file information.
// At the moment all the information we need is available
// through the Sys() interface.
type winExFileInfo struct {
	os.FileInfo
	fid  FID
	path string
}

// CTime returns the CreationTime from Win32FileAttributeData.
func (fi *winExFileInfo) CTime() time.Time {
	return time.Unix(0, fi.Sys().(syscall.Win32FileAttributeData).CreationTime)
}

// ATime returns the LastAccessTime from Win32FileAttributeData.
func (fi *winExFileInfo) ATime() time.Time {
	return time.Unix(0, fi.Sys().(syscall.Win32FileAttributeData).LastAccessTime)
}

// FID returns the windows version of a file id. The FID for Windows
// is the VolumeSerialNumber (IDHigh) and the FileIndexHigh/Low (IDLow)
func (fi *winExFileInfo) FID() FID {
{'fraction_non_alphanumeric': 0.10144092219020173, 'fraction_numerical': 0.011527377521613832, 'mean_word_length': 4.6547231270358305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1320619', 'n_tokens_mistral': 582, 'n_tokens_neox': 557, 'n_words': 179}