]>
git.proxmox.com Git - proxmox-backup.git/blob - src/lib.rs
1 //! See the different modules for documentation on their usage.
3 //! The [backup](backup/index.html) module contains some detailed information
4 //! on the inner workings of the backup server regarding data storage.
6 use std
::path
::PathBuf
;
8 use pbs_buildcfg
::configdir
;
9 use pbs_tools
::cert
::CertInfo
;
34 pub mod client_helpers
;
36 /// Get the server's certificate info (from `proxy.pem`).
37 pub fn cert_info() -> Result
<CertInfo
, anyhow
::Error
> {
38 CertInfo
::from_path(PathBuf
::from(configdir
!("/proxy.pem")))