Assign weights to different path types.
Updated gitignore