Function gettextrs::getters::domain_directory [−][src]
pub fn domain_directory<T: Into<Vec<u8>>>(
domainname: T
) -> Result<PathBuf, Error>
Get base directory for the given domain.
If you want to set the directory, rather than querying its current value, use
bindtextdomain.
For more information, see bindtextdomain(3).
Panics
Panics if domainname contains an internal 0 byte, as such values can’t be passed to the
underlying C API.