]> git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/rock/RockStoreFileSystem.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / fs / rock / RockStoreFileSystem.cc
1 /*
2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 /* DEBUG: section 92 Storage File System */
10
11 #include "squid.h"
12 #include "fs/rock/RockStoreFileSystem.h"
13 #include "fs/rock/RockSwapDir.h"
14
15 Rock::StoreFileSystem::StoreFileSystem()
16 {
17 FsAdd(*this);
18 }
19
20 Rock::StoreFileSystem::~StoreFileSystem()
21 {
22 }
23
24 char const *
25 Rock::StoreFileSystem::type() const
26 {
27 return "rock";
28 }
29
30 SwapDir *
31 Rock::StoreFileSystem::createSwapDir()
32 {
33 return new SwapDir();
34 }
35
36 void
37 Rock::StoreFileSystem::done()
38 {
39 }
40
41 void
42 Rock::StoreFileSystem::registerWithCacheManager()
43 {
44 assert(false); // XXX: implement
45 }
46
47 void
48 Rock::StoreFileSystem::setup()
49 {
50 debugs(92,2, HERE << "Will use Rock FS");
51 }
52
53 void
54 Rock::StoreFileSystem::Stats(StoreEntry *)
55 {
56 assert(false); // XXX: implement
57 }
58