sapling/eden/fs/win/mount/FsChannel.h
Puneet Kaushik abfdda5447 Create TestFsChannel class
Summary: Moved the current FsChannel implementation in to PrjfsChannel and converted the FsChannel.h into an abstract class. Created a TestFsChannel class for testing.

Reviewed By: simpkins

Differential Revision: D18440401

fbshipit-source-id: 30d6742cd18b4b76b664e3af7ed1a528cf876046
2019-12-10 14:07:25 -08:00

27 lines
532 B
C++

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
#pragma once
namespace facebook {
namespace eden {
class FsChannel {
public:
FsChannel(const FsChannel&) = delete;
FsChannel& operator=(const FsChannel&) = delete;
FsChannel(){};
virtual ~FsChannel() = default;
virtual void start() = 0;
virtual void stop() = 0;
};
} // namespace eden
} // namespace facebook
//////////////////////////