Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for abspath (0.04 sec)

  1. cmd/update.go

    	// Convert to absolute path
    	absPath, err := filepath.Abs(path)
    	if err != nil {
    		return t, fmt.Errorf("Unable to get absolute path of %s. %w", path, err)
    	}
    
    	// Version is minio non-standard, we will use minio binary's
    	// ModTime as release time.
    	fi, err := Stat(absPath)
    	if err != nil {
    		return t, fmt.Errorf("Unable to get ModTime of %s. %w", absPath, err)
    	}
    
    	// Return the ModTime
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    func checkCrossDeviceMounts(endpoints Endpoints) (err error) {
    	var absPaths []string
    	for _, endpoint := range endpoints {
    		if endpoint.IsLocal {
    			var absPath string
    			absPath, err = filepath.Abs(endpoint.Path)
    			if err != nil {
    				return err
    			}
    			absPaths = append(absPaths, absPath)
    		}
    	}
    	return mountinfo.CheckCrossDevice(absPaths)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  3. configure.py

      else:
        output = subprocess.check_output(cmd, stderr=stderr)
      return output.decode('UTF-8').strip()
    
    
    def cygpath(path):
      """Convert path from posix to windows."""
      return os.path.abspath(path).replace('\\', '/')
    
    
    def get_python_path(environ_cp, python_bin_path):
      """Get the python site package paths."""
      python_paths = []
      if environ_cp.get('PYTHONPATH'):
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        }
    
        public void test_getCssPath() {
            Path cssPath = ResourceUtil.getCssPath("style.css");
            assertNotNull(cssPath);
            assertTrue(cssPath.toString().contains("css"));
        }
    
        public void test_getJavaScriptPath() {
            Path jsPath = ResourceUtil.getJavaScriptPath("script.js");
            assertNotNull(jsPath);
            assertTrue(jsPath.toString().contains("js"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            final Path imagePath = ResourceUtil.getImagePath(themeName);
            closeQuietly(imagePath);
            final Path cssPath = ResourceUtil.getCssPath(themeName);
            closeQuietly(cssPath);
            final Path jsPath = ResourceUtil.getJavaScriptPath(themeName);
            closeQuietly(jsPath);
        }
    
        /**
         * Extracts the theme name from the artifact name.
         *
         * @param artifact the theme artifact
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    	var basePath string
    	if isGroup {
    		basePath = iamConfigPolicyDBGroupsPrefix
    	} else {
    		switch userType {
    		case svcUser:
    			basePath = iamConfigPolicyDBServiceAccountsPrefix
    		case stsUser:
    			basePath = iamConfigPolicyDBSTSUsersPrefix
    		default:
    			basePath = iamConfigPolicyDBUsersPrefix
    		}
    	}
    	ctx, cancel := context.WithCancel(ctx)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    // Stat implements ftpDriver
    func (driver *ftpDriver) Stat(ctx *ftp.Context, objPath string) (fi os.FileInfo, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	if objPath == SlashSeparator {
    		return &minioFileInfo{
    			p:     SlashSeparator,
    			isDir: true,
    		}, nil
    	}
    
    	bucket, object := path2BucketObject(objPath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

        }
    
        public void test_getVirtualHostBasePath() {
            String basePath = virtualHostHelper.getVirtualHostBasePath("site1", new HtmlNext("/test"));
            assertEquals("/site1", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("", new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/DfsResolverTest.java

            assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath"));
        }
    
        @Test
        void testResolve_NullRoot() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            assertNull(dfsResolver.resolve(mockContext, "anyDomain", null, "anyPath"));
        }
    
        @Test
        void testResolve_IpcRoot() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/Referral.java

        public final int getProximity() {
            return this.proximity;
        }
    
        /**
         * Gets the alternate path for this referral.
         *
         * @return the altPath
         */
        public final String getAltPath() {
            return this.altPath;
        }
    
        /**
         * Gets the time-to-live value for this referral in seconds.
         *
         * @return the ttl
         */
        public final int getTtl() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top