summaryrefslogtreecommitdiff
path: root/src/driver/tpax_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-30 22:45:00 +0000
committermidipix <writeonce@midipix.org>2024-05-30 22:45:00 +0000
commitee80f814e924d7e84e02b290f5f8796d6c4b05be (patch)
tree8c78b3821a7daa042fd572083c1aa8f5cc9654af /src/driver/tpax_driver_ctx.c
parent55da8fe4b7c34589e14af92421077f906f65a592 (diff)
downloadtpax-ee80f814e924d7e84e02b290f5f8796d6c4b05be.tar.bz2
tpax-ee80f814e924d7e84e02b290f5f8796d6c4b05be.tar.xz
driver: implemented and integrated the -t (preserve atime) command-line option.
Diffstat (limited to 'src/driver/tpax_driver_ctx.c')
-rw-r--r--src/driver/tpax_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index 0807379..e8ecb9e 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -526,6 +526,10 @@ int tpax_lib_get_driver_ctx(
cctx.drvflags &= ~(uintptr_t)TPAX_DRIVER_DIR_MEMBER_RECURSE;
break;
+ case TAG_PRESERVE_ATIME:
+ cctx.drvflags |= TPAX_DRIVER_PRESERVE_ATIME;
+ break;
+
case TAG_STRICT_PATH:
cctx.drvflags |= TPAX_DRIVER_STRICT_PATH_INPUT;
break;