Functions

  • fvm::Header MakeHeader (const FvmOptions & options, uint64_t slice_count)

    Creates an FVM header for the given options.

    Defined at line 42 of file ../../src/storage/volume_image/fvm/fvm_descriptor.cc

  • fpromise::result<void, std::string> UnpackRawFvmPartitions (const Reader & image, const fvm::Metadata & metadata, const std::vector<std::unique_ptr<Writer>> & out_files)

    Unpacks an input raw fvm image writing partition ids to the associated |out_files| that match

    the index. Null writers or partition ids out of range will be ignored.

    Defined at line 54 of file ../../src/storage/volume_image/fvm/fvm_unpack.cc

  • std::vector<std::optional<std::string>> DisambiguateNames (const std::vector<std::optional<std::string>> & names)

    Disambiguates duplicate names in a list by appending the 2nd or later copy of any entries with a

    dash and numerical suffix. All preexisting dashes will become underscores to preserve the dash

    as a separator. Blank names will all be appended with a a dash and numerical suffix.

    Defined at line 81 of file ../../src/storage/volume_image/fvm/fvm_unpack.cc