aboutsummaryrefslogtreecommitdiff
path: root/kernel/kernel/filesystem/rootfs/inode.cpp
blob: 43aee16e3340eaa5e88895961d55c1dd03438373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <kernel/filesystem/inode.hpp>

#include <kernel/filesystem/rootfs/inode.hpp>

#include <kstd/result.hpp>
#include <kstd/units.hpp>

namespace kernel::filesystem::rootfs
{
  auto inode::read(void *, kstd::units::bytes, kstd::units::bytes) const -> kstd::result<kstd::units::bytes>
  {
    return kstd::units::bytes{};
  }

  auto inode::write(void const *, kstd::units::bytes, kstd::units::bytes) -> kstd::result<kstd::units::bytes>
  {
    return kstd::units::bytes{};
  }

  auto inode::is_directory() const -> bool
  {
    return true;
  }
}  // namespace kernel::filesystem::rootfs