[gnome-software: 3/4] gs-utils: Change ETag attribute namespace from metadata to xattr
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 3/4] gs-utils: Change ETag attribute namespace from metadata to xattr
- Date: Thu, 10 Mar 2022 18:16:02 +0000 (UTC)
commit c46d656c51938adb994b4597c766259bf1813fe5
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Mar 10 13:27:50 2022 +0000
gs-utils: Change ETag attribute namespace from metadata to xattr
The xattr namespace is likely to be supported on all modern Linux
distributions for local files, and doesn’t require IPC with
`gvfsd-metadata`.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Helps: #1677
lib/gs-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-utils.c b/lib/gs-utils.c
index 6dc4d28a0..b8eefe36e 100644
--- a/lib/gs-utils.c
+++ b/lib/gs-utils.c
@@ -1488,7 +1488,7 @@ gs_utils_get_file_size (const gchar *filename,
return size;
}
-#define METADATA_ETAG_ATTRIBUTE "metadata::etag"
+#define METADATA_ETAG_ATTRIBUTE "xattr::gnome-software::etag"
/**
* gs_utils_get_file_etag:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]