mirror of
https://github.com/goodhosts/hostsfile.git
synced 2026-04-27 07:25:53 +03:00
[PR #57] [MERGED] Add batch check methods, safety features, and bug fixes #56
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hostsfile#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/goodhosts/hostsfile/pull/57
Author: @tomjn
Created: 12/30/2025
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @luthermonson
Base:
main← Head:feature/vvv-improvements📝 Commits (1)
590faf8Add batch check methods, safety features, and bug fixes📊 Changes
4 files changed (+201 additions, -5 deletions)
View changed files
📝
hosts.go(+84 -2)📝
hosts_test.go(+94 -0)📝
hostsline.go(+3 -3)📝
hostsline_test.go(+20 -0)📄 Description
Some changes to support checking hosts before attempting to modify files with
sudo, and attempting to fix some edge cases around host file comments and race conditions.Features added:
Bug fixes:
Safety improvements:
Tests:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.