public directory should be ignored

Signed-off-by: FeiGuan <guanfei12345@sina.com>