mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
afddf66676
Summary: Refactoring to make the following diff smaller. Reviewed By: chadaustin Differential Revision: D27522581 fbshipit-source-id: 8f858714fcbfe4b8f8b1c3678bb2003623abbd94
21 lines
393 B
C++
21 lines
393 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
|
|
|
|
#include <cstdint>
|
|
|
|
namespace facebook::eden {
|
|
|
|
/**
|
|
* Returns a random, process-stable positive integer in the range of [0,
|
|
* UINT32_MAX]
|
|
*/
|
|
uint32_t getSessionId();
|
|
|
|
} // namespace facebook::eden
|