Go to the source code of this file.
◆ add_filemeta()
| bool add_filemeta |
( |
sl_array_t * |
reqinfo, |
|
|
sl_array_t * |
fm_array, |
|
|
const char * |
path, |
|
|
const struct stat * |
sp |
|
) |
| |
|
extern |
Add requested metadata for a query result element.
This could be rewritten to something more sophisticated like querying metadata from Tracker.
If path or sp is NULL, simply add nil values for all attributes.
◆ sl_createCNIDArray()
◆ sl_path_in_scope()
| bool sl_path_in_scope |
( |
const char * |
path, |
|
|
const char * |
scope |
|
) |
| |
|
extern |
True when path equals scope or lies underneath it. Component boundary aware: '/srv/afp2' does not match '/srv/afp22/x'. An empty or "/" scope matches everything.