Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 83 for isdir (0.21 sec)

  1. cmd/server-startup-msg_test.go

    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. cmd/signature-v2_test.go

    // Tests presigned v2 signature.
    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	now := UTCNow()
    
    	var (
    		accessKey = globalActiveCred.AccessKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    func TestIsReqAuthenticated(t *testing.T) {
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-errors.go

    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    	return errors.Is(err, syscall.EIO)
    }
    
    // Check if the given error corresponds to EISDIR (is a directory).
    func isSysErrIsDir(err error) bool {
    	return errors.Is(err, syscall.EISDIR)
    }
    
    // Check if the given error corresponds to ENOTDIR (is not a directory).
    func isSysErrNotDir(err error) bool {
    	return errors.Is(err, syscall.ENOTDIR)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. cmd/config-current_test.go

    	"github.com/minio/minio/internal/config"
    )
    
    func TestServerConfig(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region != globalMinioDefaultRegion {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  6. cmd/lock-rest-server-common_test.go

    	"testing"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/handler-utils_test.go

    // Tests validate bucket LocationConstraint.
    func TestIsValidLocationConstraint(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	// Corrupted XML
    	malformedReq := &http.Request{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/en-ie/stopwords.txt

    d'
    daichead
    dar
    de
    deich
    deichniúr
    den
    dhá
    do
    don
    dtí
    dá
    dár
    dó
    faoi
    faoin
    faoina
    faoinár
    fara
    fiche
    gach
    gan
    go
    gur
    haon
    hocht
    i
    iad
    idir
    in
    ina
    ins
    inár
    is
    le
    leis
    lena
    lenár
    m'
    mar
    mo
    mé
    na
    nach
    naoi
    naonúr
    ná
    ní
    níor
    nó
    nócha
    ocht
    ochtar
    os
    roimh
    sa
    seacht
    seachtar
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Jul 19 06:31:02 GMT 2018
    - 685 bytes
    - Viewed (0)
  9. cmd/is-dir-empty_linux.go

    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg os, method (*SyscallError) Error() string
    pkg os, method (FileMode) IsDir() bool
    pkg os, method (FileMode) Perm() FileMode
    pkg os, method (FileMode) String() string
    pkg os, type File struct
    pkg os, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg os, type FileInfo interface, IsDir() bool
    pkg os, type FileInfo interface, ModTime() time.Time
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top