mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-28 10:11:20 +00:00
tree-wide: fix private intra doc links
a previous commit fixed up all intra doc links that were present on public apis, this also fixes the links for private members. Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
a9a7bbdabc
commit
00c75c734d
@ -26,8 +26,8 @@ pub struct SparseCopyResult {
|
||||
pub seeked_last: bool,
|
||||
}
|
||||
|
||||
/// Copy similar to [`io::copy`](std::io::copy), but seeks the target when encountering zero bytes
|
||||
/// instead of writing them.
|
||||
/// Copy similar to [`io::copy`], but seeks the target when encountering zero bytes instead of
|
||||
/// writing them.
|
||||
///
|
||||
/// Example use:
|
||||
/// ```
|
||||
|
@ -50,7 +50,7 @@ pub fn check_last_worker() {
|
||||
}
|
||||
|
||||
/// Spawn a task which calls [`check_last_worker()`] in the case of a requested shutdown. This used
|
||||
/// to be implied by the [`request_shutdown()`] call when it was part of the `proxmox-rest-server`
|
||||
/// to be implied by the `request_shutdown()` call when it was part of the `proxmox-rest-server`
|
||||
/// crate, which is no longer the case.
|
||||
fn check_workers_on_shutdown() {
|
||||
tokio::spawn(async {
|
||||
|
@ -117,7 +117,7 @@ pub fn file_read_firstline<P: AsRef<Path>>(path: P) -> Result<String, Error> {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
/// Creates a tmpfile like [`nix::unistd::mkstemp`], but with [`nix::fctnl::Oflag`] set.
|
||||
/// Creates a tmpfile like [`nix::unistd::mkstemp`], but with [`OFlag`] set.
|
||||
///
|
||||
/// Note that some flags are masked out since they can produce an error, see mkostemp(2) for details.
|
||||
// code is mostly copied from nix mkstemp
|
||||
|
Loading…
Reference in New Issue
Block a user