split tape code into new pbs_tape workspace

This commit is contained in:
Dietmar Maurer
2021-09-13 11:54:24 +02:00
parent bfd2b47649
commit 048b43af24
48 changed files with 672 additions and 698 deletions

View File

@ -18,13 +18,9 @@ use pbs_config::drive::{
use pbs_api_types::CHANGER_NAME_SCHEMA;
use proxmox_backup::{
api2,
tape::{
complete_changer_path,
drive::media_changer,
},
};
use pbs_tape::linux_list_drives::{complete_changer_path};
use proxmox_backup::{api2, tape::drive::media_changer};
pub fn lookup_changer_name(
param: &Value,

View File

@ -18,7 +18,9 @@ use pbs_config::drive::{
complete_lto_drive_name,
};
use proxmox_backup::{api2, tape::complete_drive_path};
use pbs_tape::linux_list_drives::{complete_drive_path};
use proxmox_backup::api2;
pub fn drive_commands() -> CommandLineInterface {