aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_resume_data.go
AgeCommit message (Collapse)Author
2025-11-18Rename hotline.fileWrapper struct to hotline.FileJeff Halter
2025-11-18Replace hardcoded magic values with named constants and improve type safetyJeff Halter
Adds new constants for file format identifiers (FormatFILP), fork types (ForkTypeINFO), and platform identifiers (PlatformAMAC, PlatformMWIN) to improve code maintainability and readability. Changes FlatFileForkHeader.ForkType field from [4]byte to ForkType type alias for better compile-time type checking, matching the pattern used in ForkInfoList.Fork.
2025-07-06Add ForkType type alias for improved type safetyJeff Halter
- Replace [4]byte with ForkType in ForkInfoList struct - Update constants ForkTypeDATA and ForkTypeMACR to use ForkType - Add String() method to ForkType for better debugging - Improve consistency with existing type patterns (FieldType, TranType) - Clean up unused code and improve documentation
2024-07-19Appease linterJeff Halter
2024-06-24Refactoring, cleanup, test backfillingJeff Halter
2022-06-03Initial implementation of file transfer resumeJeff Halter