mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
d62a6c9154
Summary: Differ.h was including an overly-broad header when all it needed was the type definitions. This makes building the inodes target with mode/mac easier. Reviewed By: simpkins, strager Differential Revision: D14036477 fbshipit-source-id: 99f3a55d0523c179f6cf2aa4210119ae6f8e51f8
38 lines
939 B
C++
38 lines
939 B
C++
/*
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
#pragma once
|
|
#include <iosfwd>
|
|
#include "eden/fs/model/Hash.h"
|
|
#include "eden/fs/service/gen-cpp2/eden_types.h"
|
|
|
|
namespace folly {
|
|
template <typename T>
|
|
class Future;
|
|
}
|
|
|
|
namespace facebook {
|
|
namespace eden {
|
|
|
|
class EdenMount;
|
|
|
|
/**
|
|
* Returns the single-char representation for the ScmFileStatus used by
|
|
* SCMs such as Git and Mercurial.
|
|
*/
|
|
char scmStatusCodeChar(ScmFileStatus code);
|
|
|
|
std::ostream& operator<<(std::ostream& os, const ScmStatus& status);
|
|
|
|
folly::Future<std::unique_ptr<ScmStatus>>
|
|
diffMountForStatus(const EdenMount& mount, Hash commitHash, bool listIgnored);
|
|
|
|
} // namespace eden
|
|
} // namespace facebook
|