ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
StorageMinimalInfo.cpp
Go to the documentation of this file.
1/*
2 * StorageInfo.cpp
3 *
4 * Copyright (c) 2024 Apra Labs
5 *
6 * This file is part of ApraUtils.
7 *
8 * Licensed under the MIT License.
9 * See LICENSE file in the project root for full license information.
10 */
11
13
14namespace apra
15{
16
17StorageMinimalInfo::StorageMinimalInfo(std::string partition, uint64_t size,
18 std::string fsType) :
19 m_partition(partition), m_size(size), m_fsType(fsType)
20{
21}
22
24 m_partition(""), m_size(0), m_fsType("")
25{
26
27}
28
32
34 const StorageMinimalInfo &other)
35{
37 m_size = other.m_size;
38 m_fsType = other.m_fsType;
39 return *this;
40}
41} /* namespace apra */
42
StorageMinimalInfo & operator=(const StorageMinimalInfo &other)