github.com/driusan/dgit@v0.0.0-20221118233547-f39f0c15edbb/git/protectfs_windows.go (about) 1 package git 2 3 func protectHFS(c *Client) bool { 4 return c.GetConfig("core.protectHFS") == "true" 5 } 6 7 // protectNTFS defaults to true on windows 8 func protectNTFS(c *Client) bool { 9 return c.GetConfig("core.protectNTFS") != "false" 10 }