VintageNet.IP.cidr_to_string
You're seeing just the function
cidr_to_string
, go back to VintageNet.IP module for more information.
Specs
cidr_to_string(:inet.ip_address(), VintageNet.prefix_length()) :: String.t()
Convert an IP address w/ prefix to a CIDR-formatted string
Examples:
iex> VintageNet.IP.cidr_to_string({192, 168, 0, 1}, 24)
"192.168.0.1/24"