debug_create_port_marker_file

Function debug_create_port_marker_file 

Source
pub fn debug_create_port_marker_file(
    _name: &str,
    _value: u16,
    _data_directory: &Path,
)
Expand description

§Important

This function does nothing in production builds.

§Integration testing

Creates a marker file in the data directory indicating that a specific port has been assigned. This function is only active in debug builds. The file is named {pid}_{name}_port_{value}.

§Panics

The function will panic if it fails to create the marker file.