Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Rugged (v0.19.0) に Grit と同等のメソッドはありRepository#statusますか?
Repository#status
Rugged でもを見つけましたが、Repository#status探している情報* が含まれていません。
*ステージングされたどのファイルに追加があり、どの新しいファイルがリポジトリに導入されたか。
dev ブランチの rugged を使用する必要があります。0.19 リリースはかなり古いものです。rugged/libgit2 の新しいバージョンでは、より多くの情報が提供されます。
を呼び出すとRepository#status、名前とステータスのペアのすべてのリストが返されます。これには、求めているものが含まれているはずです。そこに欠けている情報は何ですか?