~aleteoryx/muditaos

ref: 34ee674f371c0588f1c47bb0ce6fdda517e2ace0 muditaos/module-vfs/include/internal/purefs/fs/thread_local_cwd.hpp -rw-r--r-- 494 bytes
34ee674f — Mateusz Piesta [MOS-939] Apply target update scripts 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <string>

namespace purefs::fs::internal
{
    auto get_thread_local_cwd_path() noexcept -> std::string_view;
    auto set_thread_cwd_path(std::string_view path) noexcept -> int;
    auto cleanup_thread_local_cwd_mem() -> void;
    auto set_default_thread_cwd(std::string_view str) noexcept -> void;
} // namespace purefs::fs::internal