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

@ -16,13 +16,7 @@ use pbs_api_types::{
PRIV_TAPE_AUDIT, PRIV_TAPE_MODIFY,
};
use pbs_config::CachedUserInfo;
use crate::{
tape::{
linux_tape_changer_list,
check_drive_path,
},
};
use pbs_tape::linux_list_drives::{linux_tape_changer_list, check_drive_path};
#[api(
protected: true,

View File

@ -10,12 +10,7 @@ use pbs_api_types::{
};
use pbs_config::CachedUserInfo;
use crate::{
tape::{
lto_tape_device_list,
check_drive_path,
},
};
use pbs_tape::linux_list_drives::{lto_tape_device_list, check_drive_path};
#[api(
protected: true,