2024-02-04 10:16:55 +08:00
|
|
|
/*
|
|
|
|
ISC License
|
|
|
|
|
|
|
|
Copyright (c) 2024, Antonio SJ Musumeci <trapexit@spawn.link>
|
|
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
purpose with or without fee is hereby granted, provided that the above
|
|
|
|
copyright notice and this permission notice appear in all copies.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-02-04 13:19:44 +08:00
|
|
|
#include "func_create_base.hpp"
|
2024-02-04 13:05:43 +08:00
|
|
|
|
2024-02-04 13:19:45 +08:00
|
|
|
|
2024-02-04 13:17:20 +08:00
|
|
|
namespace Func
|
2024-02-04 10:17:12 +08:00
|
|
|
{
|
2024-02-04 13:19:13 +08:00
|
|
|
class CreateFF final : public Func::CreateBase
|
2024-02-04 10:17:12 +08:00
|
|
|
{
|
2024-02-04 10:18:58 +08:00
|
|
|
public:
|
2024-02-04 13:22:02 +08:00
|
|
|
CreateFF();
|
2024-02-04 13:22:15 +08:00
|
|
|
~CreateFF();
|
2024-02-04 10:18:58 +08:00
|
|
|
|
|
|
|
public:
|
2024-02-05 12:15:36 +08:00
|
|
|
virtual int operator()(Branches2 &branches,
|
|
|
|
ghc::filesystem::path const &fusepath,
|
|
|
|
mode_t const mode,
|
|
|
|
fuse_file_info_t *ffi);
|
2024-02-04 10:17:12 +08:00
|
|
|
};
|
|
|
|
}
|