rename some of the files related to main()

Summary:
Rename `main.cpp` to `EdenMain.cpp` now that this contains the `EdenMain`
class rather than the top-level `main()` function, and rename `RunServer.cpp`
to `main.cpp`

Reviewed By: pkaush

Differential Revision: D14435306

fbshipit-source-id: e1528a773e0724c6bd50e31f6b33a1762d7bd49e
This commit is contained in:
Adam Simpkins 2019-03-15 18:10:28 -07:00 committed by Facebook Github Bot
parent be2474ee41
commit 84349add33
6 changed files with 3 additions and 7 deletions

View File

@ -19,7 +19,7 @@ file(GLOB SERVICE_SRCS "*.cpp")
add_library(
eden_service STATIC
${SERVICE_SRCS}
oss/RunServer.cpp
oss/main.cpp
)
target_link_libraries(
eden_service

View File

@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include "eden/fs/service/main.h"
#include "eden/fs/service/EdenMain.h"
#include <boost/filesystem.hpp>
#include <folly/Conv.h>

View File

@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include "eden/fs/service/main.h"
#include "eden/fs/service/EdenMain.h"
int main(int argc, char** argv) {
facebook::eden::EdenMain server;

View File

@ -263,7 +263,6 @@
<ClInclude Include="..\..\fs\service\EdenError.h" />
<ClInclude Include="..\..\fs\service\EdenServer.h" />
<ClInclude Include="..\..\fs\service\EdenServiceHandler.h" />
<ClInclude Include="..\..\fs\service\main.h" />
<ClInclude Include="..\..\fs\service\StreamingSubscriber.h" />
<ClInclude Include="..\..\fs\sqlite\Sqlite.h" />
<ClInclude Include="..\..\fs\store\BackingStore.h" />

View File

@ -406,9 +406,6 @@
<ClInclude Include="..\..\fs\service\EdenServer.h">
<Filter>fs\Service</Filter>
</ClInclude>
<ClInclude Include="..\..\fs\service\main.h">
<Filter>fs\Service</Filter>
</ClInclude>
<ClInclude Include="Stub.h">
<Filter>Win\Stubs</Filter>
</ClInclude>