Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FILE_ACTION_RENAMED_OLD_NAME (0.14 sec)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_RENAMED_OLD_NAME constant value")
            void testFileActionRenamedOldName() {
                assertEquals(0x00000004, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME);
            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_RENAMED_NEW_NAME constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        private static final int FILE_ACTION_ADDED = 0x00000001;
        private static final int FILE_ACTION_REMOVED = 0x00000002;
        private static final int FILE_ACTION_MODIFIED = 0x00000003;
        private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
        private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
         * SMB2 File Notify Change constants
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            when(modifiedFile.getFileName()).thenReturn("modified.txt");
    
            FileNotifyInformation renamedOld = mock(FileNotifyInformation.class);
            when(renamedOld.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME);
            when(renamedOld.getFileName()).thenReturn("oldname.txt");
    
            FileNotifyInformation renamedNew = mock(FileNotifyInformation.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

                case FILE_ACTION_REMOVED: return DirectoryChangeType.FILE_REMOVED;
                case FILE_ACTION_MODIFIED: return DirectoryChangeType.FILE_MODIFIED;
                case FILE_ACTION_RENAMED_OLD_NAME:
                case FILE_ACTION_RENAMED_NEW_NAME: return DirectoryChangeType.DIRECTORY_RENAMED;
                default: return DirectoryChangeType.ATTRIBUTES_CHANGED;
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * File has been modified
         */
        int FILE_ACTION_MODIFIED = 0x00000003;
    
        /**
         * File has been renamed (old name)
         */
        int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
    
        /**
         * File has been renamed (new name)
         */
        int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
         * File stream has been added
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED,
                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        @ParameterizedTest
        @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED,
                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @DisplayName("Should handle various file actions")
        @ParameterizedTest
        @CsvSource({ "1, FILE_ACTION_ADDED", "2, FILE_ACTION_REMOVED", "3, FILE_ACTION_MODIFIED", "4, FILE_ACTION_RENAMED_OLD_NAME",
                "5, FILE_ACTION_RENAMED_NEW_NAME", "6, FILE_ACTION_ADDED_STREAM", "7, FILE_ACTION_REMOVED_STREAM",
                "8, FILE_ACTION_MODIFIED_STREAM" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top