Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for userVisiblePath (0.77 sec)

  1. pkg/volume/util/atomic_writer.go

    // baz -> ..data/baz
    func (w *AtomicWriter) createUserVisibleFiles(payload map[string]FileProjection) error {
    	for userVisiblePath := range payload {
    		slashpos := strings.Index(userVisiblePath, string(os.PathSeparator))
    		if slashpos == -1 {
    			slashpos = len(userVisiblePath)
    		}
    		linkname := userVisiblePath[:slashpos]
    		_, err := os.Readlink(filepath.Join(w.targetDir, linkname))
    		if err != nil && os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top