github.com/grailbio/base@v0.0.11/file/fsnodefuse/attr_darwin.go (about)

     1  package fsnodefuse
     2  
     3  import "github.com/hanwen/go-fuse/v2/fuse"
     4  
     5  // blockSize is defined in the stat(2) man page:
     6  //     st_blocks      The actual number of blocks allocated for the file in 512-byte units.  As short symbolic links are stored in the inode, this number may be zero.
     7  const blockSize = 512
     8  
     9  func setBlockSize(*fuse.Attr, uint32) {
    10  	// a.Blksize not present on darwin.
    11  	// TODO: Implement statfs for darwin to pass iosize.
    12  }