I am working on a small enhancement to vfs_common (adding
size_t mgos_vfs_get_fs_size(const char *path) and
size_t mgos_vfs_get_free_fs_size(const char *path)).
I cloned vfs_common, made the changes, and then went to my test program (in a different project) and added this to my test program mos.yml to try to use the local library (yes, I know it's in there twice; trying to cover both the "I'll use the first one specified" and "I'll use the last one specified" cases.
libs: - origin: file:///home/wegscd/Jenesis/vfs-common - origin: https://github.com/mongoose-os-libs/boards - origin: https://github.com/mongoose-os-libs/ca-bundle - origin: https://github.com/mongoose-os-libs/rpc-service-config - origin: https://github.com/mongoose-os-libs/rpc-service-fs - origin: https://github.com/mongoose-os-libs/rpc-uart - origin: https://github.com/mongoose-os-libs/spi - origin: https://github.com/mongoose-os-libs/vfs-dev-spi-flash - origin: https://github.com/mongoose-os-libs/file-logger - origin: file:///home/wegscd/Jenesis/vfs-common
If I look in my deps directory after a
mos build --local ---clean --platform esp32, it seems to still have the version from the github.
How do I get it to use my local version so I can test?