github.com/driusan/dgit@v0.0.0-20221118233547-f39f0c15edbb/git/protectfs_darwin.go (about)

     1  package git
     2  
     3  // protectHFS defaults to true on Mac
     4  func protectHFS(c *Client) bool {
     5  	return c.GetConfig("core.protectHFS") != "false"
     6  }
     7  
     8  func protectNTFS(c *Client) bool {
     9  	return c.GetConfig("core.protectNTFS") == "true"
    10  }