Class WorkingTreeOptions

java.lang.Object
org.eclipse.jgit.treewalk.WorkingTreeOptions

public class WorkingTreeOptions extends Object
Options used by the WorkingTreeIterator.
  • Field Details

  • Constructor Details

    • WorkingTreeOptions

      private WorkingTreeOptions(Config rc)
  • Method Details

    • isFileMode

      public boolean isFileMode()
      Whether the execute bit on working files should be trusted.
      Returns:
      true if the execute bit on working files should be trusted.
    • getAutoCRLF

      public CoreConfig.AutoCRLF getAutoCRLF()
      Get automatic CRLF conversion configuration.
      Returns:
      how automatic CRLF conversion has been configured.
    • getEOL

      public CoreConfig.EOL getEOL()
      Get how text line endings should be normalized.
      Returns:
      how text line endings should be normalized.
      Since:
      4.3
    • getCheckStat

      public CoreConfig.CheckStat getCheckStat()
      Get how stat data is compared.
      Returns:
      how stat data is compared.
      Since:
      3.0
    • getSymLinks

      public CoreConfig.SymLinks getSymLinks()
      Get how we handle symbolic links
      Returns:
      how we handle symbolic links
      Since:
      3.3
    • getHideDotFiles

      public CoreConfig.HideDotFiles getHideDotFiles()
      Get how we create '.'-files (on Windows)
      Returns:
      how we create '.'-files (on Windows)
      Since:
      3.5
    • isDirNoGitLinks

      public boolean isDirNoGitLinks()
      Whether or not we treat nested repos as directories.
      Returns:
      whether or not we treat nested repos as directories. If true, folders containing .git entries will not be treated as gitlinks.
      Since:
      4.3