-
Notifications
You must be signed in to change notification settings - Fork 46
Add IsEmpty helper in file utils #427
Copy link
Copy link
Closed
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: MaintenanceUpdating phrasing or wording to make things clearer or removing ambiguity.Updating phrasing or wording to make things clearer or removing ambiguity.
Metadata
Metadata
Assignees
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.Type: MaintenanceUpdating phrasing or wording to make things clearer or removing ambiguity.Updating phrasing or wording to make things clearer or removing ambiguity.
Description
Add a helper function
IsEmpty(...)inprojectdiscovery/utils/file/file.gothat checks if a file is empty (ref: https://github.com/projectdiscovery/shuffledns/blob/1e45a1b42a7910fa6af00bf6071e107af73fab48/pkg/massdns/utils.go#L8)