LibFileSystem: Remove some unused functions

This commit is contained in:
stasoid
2024-11-15 18:13:15 +05:00
committed by Andrew Kaster
parent 69f5f40617
commit d87144fde2
2 changed files with 0 additions and 127 deletions

View File

@@ -31,15 +31,6 @@ bool is_regular_file(int fd);
bool is_directory(StringView path);
bool is_directory(int fd);
bool is_device(StringView path);
bool is_device(int fd);
bool is_block_device(StringView path);
bool is_block_device(int fd);
bool is_char_device(StringView path);
bool is_char_device(int fd);
bool is_link(StringView path);
bool is_link(int fd);
@@ -73,13 +64,6 @@ ErrorOr<void> move_file(StringView destination_path, StringView source_path, Pre
ErrorOr<void> remove(StringView path, RecursionMode);
ErrorOr<off_t> size_from_stat(StringView path);
ErrorOr<off_t> size_from_fstat(int fd);
ErrorOr<off_t> block_device_size_from_ioctl(StringView path);
ErrorOr<off_t> block_device_size_from_ioctl(int fd);
bool can_delete_or_move(StringView path);
ErrorOr<ByteString> read_link(StringView link_path);
ErrorOr<void> link_file(StringView destination_path, StringView source_path);
bool looks_like_shared_library(StringView path);
}