1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Rename module hash-triple to hashcode-file-inode.

* lib/hashcode-file-inode.c: Renamed from lib/hash-triple.c.
* modules/hashcode-file-inode: Renamed from modules/hash-triple.
* modules/hash-triple: New file.
* lib/hash-triple.h: Update.
* MODULES.html.sh: Update.
This commit is contained in:
Bruno Haible
2025-04-30 00:37:08 +02:00
parent e412f9ace4
commit 53cea75d3d
6 changed files with 40 additions and 8 deletions

View File

@@ -1,5 +1,12 @@
2025-04-29 Bruno Haible <bruno@clisp.org> 2025-04-29 Bruno Haible <bruno@clisp.org>
Rename module hash-triple to hashcode-file-inode.
* lib/hashcode-file-inode.c: Renamed from lib/hash-triple.c.
* modules/hashcode-file-inode: Renamed from modules/hash-triple.
* modules/hash-triple: New file.
* lib/hash-triple.h: Update.
* MODULES.html.sh: Update.
Rename module hash-triple-simple to hashcode-named-file. Rename module hash-triple-simple to hashcode-named-file.
* lib/hashcode-named-file.c: Renamed from lib/hash-triple-simple.c. * lib/hashcode-named-file.c: Renamed from lib/hash-triple-simple.c.
* modules/hashcode-named-file: Renamed from modules/hash-triple-simple. * modules/hashcode-named-file: Renamed from modules/hash-triple-simple.

View File

@@ -2870,7 +2870,7 @@ func_all_modules ()
func_module cycle-check func_module cycle-check
func_module dev-ino func_module dev-ino
func_module file-set func_module file-set
func_module hash-triple func_module hashcode-file-inode
func_module i-ring func_module i-ring
func_module same-inode func_module same-inode
func_end_table func_end_table

View File

@@ -47,7 +47,7 @@ extern bool triple_compare_ino_str (void const *x, void const *y)
_GL_ATTRIBUTE_PURE; _GL_ATTRIBUTE_PURE;
extern void triple_free (void *x); extern void triple_free (void *x);
/* Defined in module 'hash-triple'. */ /* Defined in module 'hashcode-file-inode'. */
extern size_t triple_hash_no_name (void const *x, size_t table_size) extern size_t triple_hash_no_name (void const *x, size_t table_size)
_GL_ATTRIBUTE_PURE; _GL_ATTRIBUTE_PURE;
extern bool triple_compare (void const *x, void const *y); extern bool triple_compare (void const *x, void const *y);

View File

@@ -1,18 +1,20 @@
Description: Description:
Hash functions for file-related triples: name, device, inode. Hash functions for file-related triples: name, device, inode.
Status:
deprecated
Notice:
This module is deprecated. Use the module 'hashcode-file-inode' instead.
Files: Files:
lib/hash-triple.c
Depends-on: Depends-on:
hashcode-named-file hashcode-file-inode
same
same-inode
configure.ac: configure.ac:
Makefile.am: Makefile.am:
lib_SOURCES += hash-triple.c
Include: Include:
"hash-triple.h" "hash-triple.h"
@@ -21,4 +23,3 @@ License:
GPL GPL
Maintainer: Maintainer:
Jim Meyering

View File

@@ -0,0 +1,24 @@
Description:
Hash functions for file-related triples: name, device, inode.
Files:
lib/hashcode-file-inode.c
Depends-on:
hashcode-named-file
same
same-inode
configure.ac:
Makefile.am:
lib_SOURCES += hashcode-file-inode.c
Include:
"hash-triple.h"
License:
GPL
Maintainer:
Jim Meyering