From ee80f814e924d7e84e02b290f5f8796d6c4b05be Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 30 May 2024 22:45:00 +0000 Subject: driver: implemented and integrated the -t (preserve atime) command-line option. --- src/driver/tpax_driver_ctx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/driver/tpax_driver_ctx.c') 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; -- cgit v1.2.3