mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::fs: Rename function.
This commit is contained in:
parent
1137f8a29b
commit
f145c6774a
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ namespace ircd::fs
|
|||
std::string read(const string_view &path, const read_opts & = read_opts_default);
|
||||
|
||||
// Test whether bytes in the specified range are cached and should not block
|
||||
bool fetched(const fd &, const size_t &, const read_opts & = read_opts_default);
|
||||
bool fincore(const fd &, const size_t &, const read_opts & = read_opts_default);
|
||||
|
||||
// Prefetch bytes for subsequent read(); offset is given in opts.
|
||||
size_t prefetch(const fd &, const size_t &, const read_opts & = read_opts_default);
|
||||
|
|
|
@ -504,7 +504,7 @@ ircd::fs::prefetch(const fd &fd,
|
|||
}
|
||||
|
||||
bool
|
||||
ircd::fs::fetched(const fd &fd,
|
||||
ircd::fs::fincore(const fd &fd,
|
||||
const size_t &count,
|
||||
const read_opts &opts)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue