2013-12-28 14:15:35 +04:00
|
|
|
# This file is part of Radicale Server - Calendar Server
|
2017-05-27 17:28:07 +02:00
|
|
|
# Copyright © 2012-2017 Guillaume Ayoub
|
2019-06-17 04:13:24 +02:00
|
|
|
# Copyright © 2017-2018 Unrud <unrud@outlook.com>
|
2013-12-28 14:15:35 +04:00
|
|
|
#
|
|
|
|
# This library 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 library 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 Radicale. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
"""
|
|
|
|
Custom storage backend.
|
|
|
|
|
|
|
|
Copy of filesystem storage backend for testing
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
2018-08-28 16:19:36 +02:00
|
|
|
from radicale.storage import multifilesystem
|
2013-12-28 14:15:35 +04:00
|
|
|
|
|
|
|
|
2016-04-22 11:37:02 +09:00
|
|
|
# TODO: make something more in this collection (and test it)
|
2018-08-28 16:19:36 +02:00
|
|
|
class Collection(multifilesystem.Collection):
|
2016-04-07 19:25:10 +02:00
|
|
|
"""Collection stored in a folder."""
|
2016-08-03 14:35:50 +02:00
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|