blob: 1b65afe7a3293d2bcfcdd54b3addcb57e1d80969 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_STORAGE_BLOBFS_INCLUDE_BLOBFS_MKFS_H_
#define SRC_STORAGE_BLOBFS_INCLUDE_BLOBFS_MKFS_H_
#include "src/storage/blobfs/common.h"
#include <block-client/cpp/block-device.h>
namespace blobfs {
using block_client::BlockDevice;
// Formats the underlying device with an empty Blobfs partition.
zx_status_t FormatFilesystem(BlockDevice* device, const FilesystemOptions& options);
} // namespace blobfs
#endif // SRC_STORAGE_BLOBFS_INCLUDE_BLOBFS_MKFS_H_