- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,414 for path3a (0.03 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
* <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null})
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar"); @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { String filename = file.getFileName().toString();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
.golangci.yml
generated: lax rules: - linters: - forcetypeassert path: _test\.go - path: (.+)\.go$ text: 'empty-block:' - path: (.+)\.go$ text: 'unused-parameter:' - path: (.+)\.go$ text: 'dot-imports:' - path: (.+)\.go$ text: should have a package comment - path: (.+)\.go$Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
tests/test_request_params/test_form/utils.py
from typing import Any def get_body_model_name(openapi: dict[str, Any], path: str) -> str: body = openapi["paths"][path]["post"]["requestBody"] body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 285 bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
when(systemSessionMock.getData()).thenReturn(sessionDataMock); Path beforePomFile = Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath(); Path afterPomFile = Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath(); Path tempFile = Files.createTempFile("", ".pom"); Files.delete(tempFile);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
@Override public String alignToBaseDirectory(String path, File basedir) { String result = path; if (path != null && basedir != null) { path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're doneRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java
/** * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the * bean configuration against some base directory. * */ public interface BeanConfigurationPathTranslator { /** * Translates the specified path. * * @param path The path to translate, may be {@code null}. * @return The translated path or {@code null} if none. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/test_tutorial/test_static_files/test_tutorial001.py
import os from pathlib import Path import pytest from fastapi.testclient import TestClient @pytest.fixture(scope="module") def client(): static_dir: Path = Path(os.getcwd()) / "static" static_dir.mkdir(exist_ok=True) sample_file = static_dir / "sample.txt" sample_file.write_text("This is a sample static file.") from docs_src.static_files.tutorial001_py39 import app with TestClient(app) as client:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.1K bytes - Viewed (0) -
pom.xml
<data> <type>files</type> <paths> <path>${project.basedir}/src/main/assemblies/files/fess</path> <path>${project.basedir}/src/main/assemblies/files/fess.in.sh</path> <path>${project.basedir}/src/main/assemblies/files/generate-thumbnail</path> <path>${project.basedir}/plugin.xml</path> </paths> <dst>${packaging.fess.bin.dir}</dst> <mapper>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 49.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0)