- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for homedir (0.05 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
// Create state directory for persistent storage String stateDir = System.getProperty("jcifs.smb.client.handleStateDirectory"); if (stateDir == null) { String homeDir = System.getProperty("user.home"); stateDir = homeDir + File.separator + ".jcifs" + File.separator + "handles"; } this.stateDirectory = Paths.get(stateDir); try { Files.createDirectories(stateDirectory);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
this.scheduler = Executors.newScheduledThreadPool(1); // Create state directory for persistent storage String homeDir = System.getProperty("user.home"); this.stateDirectory = Paths.get(homeDir, ".jcifs", "handles"); try { Files.createDirectories(stateDirectory); } catch (IOException e) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
go.mod
github.com/minio/selfupdate v0.6.0 github.com/minio/simdjson-go v0.4.5 github.com/minio/sio v0.4.1 github.com/minio/xxml v0.0.3 github.com/minio/zipindex v0.4.0 github.com/mitchellh/go-homedir v1.1.0 github.com/nats-io/nats-server/v2 v2.11.1 github.com/nats-io/nats.go v1.41.2 github.com/nats-io/stan.go v0.10.4 github.com/ncw/directio v1.0.5 github.com/nsqio/go-nsq v1.1.0 github.com/philhofer/fwd v1.2.0
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 12.2K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
goto error ) if exist "%FILE_ARG%\*" ( set "POM_DIR=%FILE_ARG%" ) else ( call :get_directory_from_file "%FILE_ARG%" ) if not exist "%POM_DIR%" ( echo Directory "%POM_DIR%" extracted from the -f/--file command-line argument "%FILE_ARG%" does not exist >&2 goto error ) set "WDIR=%POM_DIR%" goto findBaseDir :get_directory_from_file set "POM_DIR=%~dp1" :stripPomDir
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 10.7K bytes - Click Count (3) -
src/archive/zip/struct.go
mode |= fs.ModeDir } return mode } // SetMode changes the permission and mode bits for the [FileHeader]. func (h *FileHeader) SetMode(mode fs.FileMode) { h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8 h.ExternalAttrs = fileModeToUnixMode(mode) << 16 // set MSDOS attributes too, as the original zip does. if mode&fs.ModeDir != 0 { h.ExternalAttrs |= msdosDir }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
cmd/data-usage_test.go
{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10}, } createUsageTestFiles(t, base, bucket, files) getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 { var s os.FileInfo s, err = os.Stat(item.Path) if err != nil { return sizeS, err } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return sizeS, errCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/archive/zip/writer_test.go
Mode: wt.Mode, } } return fsys } func TestWriterAddFS(t *testing.T) { buf := new(bytes.Buffer) w := NewWriter(buf) tests := []WriteTest{ {Name: "emptyfolder", Mode: 0o755 | os.ModeDir}, {Name: "file.go", Data: []byte("hello"), Mode: 0644}, {Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644}, // Notably missing here is the "subfolder" directory. This makes sure even
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
src/archive/tar/writer_test.go
t.Fatalf("test %d, String() = %q, want %q", i, got, wantStr) } } } func TestWriterAddFS(t *testing.T) { fsys := fstest.MapFS{ "emptyfolder": {Mode: 0o755 | os.ModeDir}, "file.go": {Data: []byte("hello")}, "subfolder/another.go": {Data: []byte("world")}, "symlink.go": {Mode: 0o777 | os.ModeSymlink, Data: []byte("file.go")},
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
cmd/ftp-server-driver.go
} func (m *minioFileInfo) Name() string { return m.p } func (m *minioFileInfo) Size() int64 { return m.info.Size } func (m *minioFileInfo) Mode() os.FileMode { if m.isDir { return os.ModeDir } return os.ModePerm } var minFileDate = time.Date(1980, 1, 1, 0, 0, 0, 0, time.UTC) // Workaround for Filezilla func (m *minioFileInfo) ModTime() time.Time { if !m.info.LastModified.IsZero() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/metacache-entries.go
// If versioned the latest version will be returned. func (e *metaCacheEntry) fileInfo(bucket string) (FileInfo, error) { if e.isDir() { return FileInfo{ Volume: bucket, Name: e.name, Mode: uint32(os.ModeDir), }, nil } if e.cached != nil { if len(e.cached.versions) == 0 { // This special case is needed to handle xlMeta.versions == 0 return FileInfo{ Volume: bucket, Name: e.name,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0)