db/filename.cc

bitconnectcoin · src/leveldb/db/filename.cc · cpp · MIT
database, tag:embed-classified

Copyright (c) 2011 The LevelDB Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. See the AUTHORS file for names of contributors. include <ctype.h> include <stdio.h> include "db/filename.h" include "db/d

// Source: https://github.com/bitconnectcoin/bitconnectcoin | License: MIT | Copyright 2014 bitconnect Developers
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include <ctype.h>
#include <stdio.h>
#include "db/filename.h"
#include "db/dbformat.h"
#include "leveldb/env.h"
#include "util/logging.h"

namespace leveldb {

// A utility routine: write "data" to the named file and Sync() it.
extern Status WriteStringToFileSync(Env* env, const Slice& data,
                                    const std::string& fname);

static std::string MakeFileName(const std::str

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key