cgit: scan path