Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for embedFileNameSplit (0.12 sec)

  1. src/cmd/compile/internal/staticdata/embed.go

    // See the comment inside ../../../../embed/embed.go's Files struct for rationale.
    func embedFileLess(x, y string) bool {
    	xdir, xelem, _ := embedFileNameSplit(x)
    	ydir, yelem, _ := embedFileNameSplit(y)
    	return xdir < ydir || xdir == ydir && xelem < yelem
    }
    
    // WriteEmbed emits the init data for a //go:embed variable,
    // which is either a string, a []byte, or an embed.FS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 18:22:02 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top