get_absolute_path

Function get_absolute_path 

Source
pub fn get_absolute_path(buffer: Option<&Buffer>) -> Option<PathBuf>
Expand description

Retrieves the absolute path of the specified buffer.

§Errors

Errors are logged internally but do not propagate; the function returns None on failure.

§Assumptions

Assumes that the buffer’s name represents a valid path.