Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for rmDir (0.18 sec)

  1. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert "/static/swagger-ui-bundle.js" in response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pkg/util/removeall/removeall.go

    	return RemoveAllOneFilesystemCommon(mounter, path, os.Remove)
    }
    
    // RemoveDirsOneFilesystem removes the path and any empty subdirectories it
    // contains, using the syscall.Rmdir function. Unlike RemoveAllOneFilesystem,
    // RemoveDirsOneFilesystem will remove only directories and returns an error if
    // it encounters any files in the directory tree. It makes sure it does not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 16:41:02 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. Jenkinsfile.s390x

                                sh "rm -rvf $WORK_DIR/dists $WORK_DIR/it-local-repo"
                            } else {
                                bat "if exist it-local-repo rmdir /s /q it-local-repo"
                                bat "if exist dists         rmdir /s /q dists"
                            }
                            dir('dists') {
                              unstash 'maven-dist-s390x'
                            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_cache_rw.txt

    # should be able to remove the module cache if the '-rf' flags are set.
    [!GOOS:windows] [exec:rm] exec rm -rf $GOPATH/pkg/mod
    [!GOOS:windows] [!exec:rm] go clean -modcache
    [GOOS:windows] [exec:cmd.exe] exec cmd.exe /c rmdir /s /q $GOPATH\pkg\mod
    [GOOS:windows] [!exec:cmd.exe] go clean -modcache
    ! exists $GOPATH/pkg/mod
    
    # The directories in the module cache should by default be unwritable,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. src/os/removeall_noat.go

    	"syscall"
    )
    
    func removeAll(path string) error {
    	if path == "" {
    		// fail silently to retain compatibility with previous behavior
    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    	// The rmdir system call permits removing "." on Plan 9,
    	// so we don't permit it to remain consistent with the
    	// "at" implementation of RemoveAll.
    	if endsWithDot(path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    fun BuildFeatures.publishBuildStatusToGithub(model: CIBuildModel) {
        if (model.publishStatusToGitHub) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/os/removeall_at.go

    	"io"
    	"syscall"
    )
    
    func removeAll(path string) error {
    	if path == "" {
    		// fail silently to retain compatibility with previous behavior
    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    	// The rmdir system call does not permit removing ".",
    	// so we don't permit it either.
    	if endsWithDot(path) {
    		return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
    	}
    
    	// Simple case: if Remove works, we're done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd.go

    //sys	read(fd int, p []byte) (n int, err error)
    //sys	Readlink(path string, buf []byte) (n int, err error)
    //sys	Rename(from string, to string) (err error)
    //sys	Revoke(path string) (err error)
    //sys	Rmdir(path string) (err error)
    //sys	Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
    //sysnb	Setegid(egid int) (err error)
    //sysnb	Seteuid(euid int) (err error)
    //sysnb	Setgid(gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. docs/ftp/README.md

    | ftp-client commands | supported |
    |:-------------------:|:----------|
    | get                 | yes       |
    | put                 | yes       |
    | ls                  | yes       |
    | mkdir               | yes       |
    | rmdir               | yes       |
    | delete              | yes       |
    | append              | no        |
    | rename              | no        |
    
    MinIO supports following FTP/SFTP based protocols to access and manage data.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top