Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for emptyfile (0.11 sec)

  1. src/cmd/covdata/tool_test.go

    	}
    
    	// Emit program.
    	insrc := filepath.Join("testdata", prog+".go")
    	src := filepath.Join(subdir, prog+".go")
    	emitFile(t, src, insrc)
    	indep := filepath.Join("testdata", "dep.go")
    	dep := filepath.Join(depdir, "dep.go")
    	emitFile(t, dep, indep)
    
    	// Emit go.mod.
    	mod := filepath.Join(subdir, "go.mod")
    	modsrc := "\nmodule " + mainPkgPath + "\n\ngo 1.19\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. pkg/kube/client.go

    	_ = c.Close()
    }
    
    func removeEmptyFiles(files []string) []string {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		if !isEmptyFile(f) {
    			out = append(out, f)
    		}
    	}
    	return out
    }
    
    func isEmptyFile(f string) bool {
    	fileInfo, err := os.Stat(f)
    	if err != nil {
    		return true
    	}
    	if fileInfo.Size() == 0 {
    		return true
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    k;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let t=new T0;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}emptyRule(e){let t=new Uf;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top