Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewDir (0.03 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

            @BeforeEach
            void setUp() throws CIFSException {
                doReturn(mockTreeHandle).when(smbFile).ensureTreeConnected();
                when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir");
                when(mockLocator.getShare()).thenReturn("share");
                // Mock tree handle's getConfig() to return our mock config
                when(mockTreeHandle.getConfig()).thenReturn(mockConfig);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	if ctx.IsSet("log-prefix") {
    		fileNameFunc = func() string {
    			return fmt.Sprintf("%s-%s.log", ctx.String("log-prefix"), fmt.Sprintf("%X", time.Now().UTC().UnixNano()))
    		}
    	}
    
    	output, err := logger.NewDir(logger.Options{
    		Directory:       lgDirAbs,
    		MaximumFileSize: int64(lgSize),
    		Compress:        ctx.Bool("log-compress"),
    		FileNameFunc:    fileNameFunc,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top