mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibFileSystem: Remove some unused functions
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user