Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 295 for folder (0.03 sec)

  1. cmd/data-scanner.go

    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            String path = "\\share\\folder\\file.txt";
            String normalized = validator.validatePath(path);
            assertEquals("\\share\\folder\\file.txt", normalized);
        }
    
        @Test
        public void testNormalizePath() throws Exception {
            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test getApplyToText with different flag combinations")
        @CsvSource({ "0x00, This folder only", "'0x03', 'This folder, subfolders and files'", "0x0B, Subfolders and files only",
                "0x02, This folder and subfolders", "0x0A, Subfolders only", "0x01, This folder and files", "0x09, Files only",
                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestWithPathTest.java

            // Test path with spaces and special characters
            String specialPath = "/share/folder name/file with spaces & special!@#$%.txt";
            testImplementation.setPath(specialPath);
            assertEquals(specialPath, testImplementation.getPath());
    
            // Test UNC path with special characters
            String specialUNCPath = "\\\\server\\share\\folder with spaces\\file!@#$.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

        void testGetReferral_Success() throws IOException, SmbAuthException {
            String domain = "domain.com";
            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
                // Accept files in /share/folder/ that are text files
                return path.equals("/share/folder/") && name != null && name.endsWith(".txt");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
            case 0x09:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

         * directories such as 'This folder, subfolder and files'. For
         * files the text is always 'This object only'.
         * @return the text describing what this ACE applies to
         */
        public String getApplyToText() {
            switch (flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) {
            case 0x00:
                return "This folder only";
            case 0x03:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                when(mockReferral.getTtl()).thenReturn(600);
                when(mockReferral.getRFlags()).thenReturn(0);
                when(mockReferral.getNode()).thenReturn("\\server.example.com\\share\\folder");
    
                String reqPath = "\\\\server\\share\\folder\\file.txt";
                long expire = System.currentTimeMillis() + 60000;
                int consumed = 20;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Test relative path resolution
            URL relativeUrl = new URL(baseUrl, "folder/file.txt");
            assertEquals("smb", relativeUrl.getProtocol());
            assertEquals("server", relativeUrl.getHost());
            assertEquals("/share/folder/file.txt", relativeUrl.getPath());
    
            // Test parent directory navigation
            URL parentUrl = new URL(baseUrl, "../other/file.txt");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top