Add 'GetAFBRootDirPath' function 41/23141/4
authorJonathan Aillet <jonathan.aillet@iot.bzh>
Tue, 3 Dec 2019 16:14:59 +0000 (17:14 +0100)
committerJonathan Aillet <jonathan.aillet@iot.bzh>
Wed, 4 Dec 2019 13:38:18 +0000 (14:38 +0100)
commit4480e19e555318d04a8b63f8e5ef827b627ea408
treee163044ec3643727a5004d808eb71acc30a6f23d
parent5b9cce9fd0a1da9aeaaba8465f9a2780282a2247
Add 'GetAFBRootDirPath' function

Add 'GetAFBRootDirPath' function that replace 'GetBindingDirPath'
function as previous 'GetBindingDirPath' was returning
'Binder root directory path' and not 'Binding directory path'.

'GetBindingDirPath' function has been kept to call 'GetAFBRootDirPath'
for compatibility issues.

FYI:
- 'Binding directory path' is the path to the directory that contains
the binding.
- 'Binder root directory path' is the path specified at binder launch
using '--rootdir' option. If no option is specified, binder root
directory is set to the current directory.

BUG-AGL: SPEC-3009

Change-Id: I3f4bb64f1d67558a291481e0987bd93666535add
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
docs/filescan-utils.md
filescan-utils.c
filescan-utils.h