Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
a4b7c57c
Commit
a4b7c57c
authored
Dec 11, 2020
by
Cedric Caffy
Browse files
Deleted DeletedArchiveFileItor and the DeletedArchiveFile data structure
parent
67f25512
Changes
4
Hide whitespace changes
Inline
Side-by-side
catalogue/Catalogue.hpp
View file @
a4b7c57c
...
...
@@ -38,7 +38,6 @@
#include
"common/dataStructures/ArchiveRoute.hpp"
#include
"common/dataStructures/CancelRetrieveRequest.hpp"
#include
"common/dataStructures/DeleteArchiveRequest.hpp"
#include
"common/dataStructures/DeletedArchiveFile.hpp"
#include
"common/dataStructures/DiskFileInfo.hpp"
#include
"common/dataStructures/DriveState.hpp"
#include
"common/dataStructures/FileRecycleLog.hpp"
...
...
@@ -863,8 +862,6 @@ public:
virtual
ArchiveFileItor
getArchiveFilesItor
(
const
TapeFileSearchCriteria
&
searchCriteria
=
TapeFileSearchCriteria
())
const
=
0
;
typedef
CatalogueItor
<
common
::
dataStructures
::
DeletedArchiveFile
>
DeletedArchiveFileItor
;
typedef
CatalogueItor
<
common
::
dataStructures
::
FileRecycleLog
>
FileRecycleLogItor
;
...
...
common/CMakeLists.txt
View file @
a4b7c57c
...
...
@@ -44,7 +44,6 @@ set (COMMON_LIB_SRC_FILES
dataStructures/ArchiveRequest.cpp
dataStructures/ArchiveRoute.cpp
dataStructures/CancelRetrieveRequest.cpp
dataStructures/DeletedArchiveFile.cpp
dataStructures/DeleteArchiveRequest.cpp
dataStructures/DesiredDriveState.cpp
dataStructures/DiskFileInfo.cpp
...
...
common/dataStructures/DeletedArchiveFile.cpp
deleted
100644 → 0
View file @
67f25512
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2019 CERN
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include
"DeletedArchiveFile.hpp"
namespace
cta
{
namespace
common
{
namespace
dataStructures
{
DeletedArchiveFile
::
DeletedArchiveFile
()
:
ArchiveFile
(){}
}}}
\ No newline at end of file
common/dataStructures/DeletedArchiveFile.hpp
deleted
100644 → 0
View file @
67f25512
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2019 CERN
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include
"ArchiveFile.hpp"
namespace
cta
{
namespace
common
{
namespace
dataStructures
{
struct
DeletedArchiveFile
:
public
ArchiveFile
{
DeletedArchiveFile
();
std
::
string
diskFilePath
;
std
::
string
diskFileIdWhenDeleted
;
time_t
deletionTime
;
};
}}}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment