From fe636ca62c84606d0331de6e9984925b72481267 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Mon, 13 Nov 2017 10:59:35 -0800 Subject: [PATCH] Remove ClientConfig::getDirstateStoragePath(). Summary: This seems like something that I should have deleted as part of D6179950 when we moved the storage of dirstate data from Eden to Hg. Reviewed By: chadaustin Differential Revision: D6311543 fbshipit-source-id: df00d348be9a9dbbce18fa81e2cd1015b1780b02 --- eden/fs/config/ClientConfig.cpp | 5 ----- eden/fs/config/ClientConfig.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/eden/fs/config/ClientConfig.cpp b/eden/fs/config/ClientConfig.cpp index 478b2251a8..77ea56228b 100644 --- a/eden/fs/config/ClientConfig.cpp +++ b/eden/fs/config/ClientConfig.cpp @@ -47,7 +47,6 @@ const facebook::eden::RelativePathPiece kSnapshotFile{"SNAPSHOT"}; const facebook::eden::RelativePathPiece kBindMountsDir{"bind-mounts"}; const facebook::eden::RelativePathPiece kCloneSuccessFile{"clone-succeeded"}; const facebook::eden::RelativePathPiece kOverlayDir{"local"}; -const facebook::eden::RelativePathPiece kDirstateFile{"dirstate"}; // File holding mapping of client directories. const facebook::eden::RelativePathPiece kClientDirectoryMap{"config.json"}; @@ -175,10 +174,6 @@ AbsolutePath ClientConfig::getCloneSuccessPath() const { return clientDirectory_ + kCloneSuccessFile; } -AbsolutePath ClientConfig::getDirstateStoragePath() const { - return clientDirectory_ + kDirstateFile; -} - ClientConfig::ConfigData ClientConfig::loadConfigData( AbsolutePathPiece etcEdenDirectory, AbsolutePathPiece configPath) { diff --git a/eden/fs/config/ClientConfig.h b/eden/fs/config/ClientConfig.h index be3294d2f8..20129a83a6 100644 --- a/eden/fs/config/ClientConfig.h +++ b/eden/fs/config/ClientConfig.h @@ -128,9 +128,6 @@ class ClientConfig { /** File that will be written once the clone for this client has succeeded. */ AbsolutePath getCloneSuccessPath() const; - /** Path to the file where the dirstate data is stored. */ - AbsolutePath getDirstateStoragePath() const; - /** Path to the file where the current commit ID is stored */ AbsolutePath getSnapshotPath() const;