directory-handle: add an equals method
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Jan 2020 22:09:13 +0000 (17:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Jan 2020 06:55:34 +0000 (01:55 -0500)
commit0e98551307eb5a7a59cc74982b386dc95f4c4f89
treeaf6ad854578ad3a7cd5020576783e67c317998a3
parentb2621f79ae2fade4d2d7f21624dfe4649e5e3352
directory-handle: add an equals method

Add an "equals" method to both implementations of directory-handle.
The "directory fd" implementation uses the underlying inode of
the directory to perform comparisons.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9c97f75ea6a79168d772268fca490aee7c333ae2
src/common/compat/directory-handle.c
src/common/compat/directory-handle.h
This page took 0.025257 seconds and 4 git commands to generate.