refactor(listeners) changeLinks: add isDir