[GH-ISSUE #15] Add/Remove/Contains functions for HostsLine #5

Open
opened 2026-03-02 05:08:03 +03:00 by kerem · 0 comments
Owner

Originally created by @tomjn on GitHub (Jan 18, 2021).
Original GitHub issue: https://github.com/goodhosts/hostsfile/issues/15

Currently the hosts functions manipulate lines directly, but instead they should be encapsulated with add/remove/contains functions. This should make things easier to read as well as simplifying testing.

Originally created by @tomjn on GitHub (Jan 18, 2021). Original GitHub issue: https://github.com/goodhosts/hostsfile/issues/15 Currently the hosts functions manipulate lines directly, but instead they should be encapsulated with add/remove/contains functions. This should make things easier to read as well as simplifying testing.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hostsfile#5
No description provided.