Truncate action.
More...
#include <XrdClAction.hh>
|
static double | time (std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > tp) |
| Convert timpoint to unix timestamp with ns.
|
|
static double | timeNow () |
| Get curretn unix time in ns precision as a double.
|
|
◆ TruncateAction()
XrdCl::TruncateAction::TruncateAction |
( |
void * |
file, |
|
|
uint64_t |
size, |
|
|
uint16_t |
timeout |
|
) |
| |
|
inline |
◆ ArgStr()
std::string XrdCl::TruncateAction::ArgStr |
( |
| ) |
|
|
inlinevirtual |
Convert operation arguments into a string.
Implements XrdCl::Action.
References size.
◆ Name()
std::string XrdCl::TruncateAction::Name |
( |
| ) |
|
|
inlinevirtual |
◆ size
uint32_t XrdCl::TruncateAction::size |
The documentation for this struct was generated from the following file: