Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for brtfs (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Click Count (0)
Back to Top