mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: avoid lines longer than 80 characters
This commit is contained in:
parent
a806d0a312
commit
7b14ee6b9b
76 changed files with 1246 additions and 972 deletions
|
@ -42,17 +42,20 @@ Pointer<git_status_entry> getByIndex({
|
|||
|
||||
/// Get file status for a single file.
|
||||
///
|
||||
/// This tries to get status for the filename that you give. If no files match that name
|
||||
/// (in either the HEAD, index, or working directory), this returns GIT_ENOTFOUND.
|
||||
/// This tries to get status for the filename that you give. If no files match
|
||||
/// that name (in either the HEAD, index, or working directory), this returns
|
||||
/// GIT_ENOTFOUND.
|
||||
///
|
||||
/// If the name matches multiple files (for example, if the path names a directory or if
|
||||
/// running on a case- insensitive filesystem and yet the HEAD has two entries that both
|
||||
/// match the path), then this returns GIT_EAMBIGUOUS because it cannot give correct results.
|
||||
/// If the name matches multiple files (for example, if the path names a
|
||||
/// directory or if running on a case- insensitive filesystem and yet the HEAD
|
||||
/// has two entries that both match the path), then this returns GIT_EAMBIGUOUS
|
||||
/// because it cannot give correct results.
|
||||
///
|
||||
/// This does not do any sort of rename detection. Renames require a set of targets and because
|
||||
/// of the path filtering, there is not enough information to check renames correctly. To check
|
||||
/// file status with rename detection, there is no choice but to do a full listNew
|
||||
/// and scan through looking for the path that you are interested in.
|
||||
/// This does not do any sort of rename detection. Renames require a set of
|
||||
/// targets and because of the path filtering, there is not enough information
|
||||
/// to check renames correctly. To check file status with rename detection,
|
||||
/// there is no choice but to do a full listNew and scan through looking for
|
||||
/// the path that you are interested in.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
int file({required Pointer<git_repository> repoPointer, required String path}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue