Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for FilePath (0.05 seconds)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
                try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                return;
            }
    
            final String url = urlObj.toString();
            final Path filePath = buildFilePath(exportPath, url, formatter);
            if (logger.isDebugEnabled()) {
                logger.debug("[EXPORT] Exporting document: url={}, path={}", url, filePath);
            }
            final String content = formatter.format(source, excludeFields);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. utils/utils.go

    import (
    	"database/sql/driver"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/flags/flags.go

    // Package flags implements top-level flags and the usage message for the assembler.
    package flags
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    var (
    	Debug      = flag.Bool("debug", false, "dump instructions as they are parsed")
    	OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument")
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    stream.filter(entry -> isLogFilename(entry.getFileName().toString())).forEach(filePath -> {
                        final ZipEntry entry = new ZipEntry(id + "/" + filePath.getFileName().toString());
                        try {
                            zos.putNextEntry(entry);
                            final long len = Files.copy(filePath, zos);
                            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. utils/utils_test.go

    	return FileWithLineNum()
    }
    
    //go:noinline
    func fileWithLineNumWrappedOuterForTest() (got, want string) {
    	_, file, line, _ := runtime.Caller(0)
    	got = filepath.ToSlash(fileWithLineNumWrappedInnerForTest())
    	want = fmt.Sprintf("%s:%d", filepath.ToSlash(file), line+1)
    	return got, want
    }
    
    func TestFileWithLineNumWrappedCallRegression(t *testing.T) {
    	got, want := fileWithLineNumWrappedOuterForTest()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            }
            try {
                final Path filePath = Paths.get(path).normalize();
                final String normalizedPath = filePath.toString();
                if (normalizedPath.contains("..")) {
                    throw new IllegalArgumentException("Invalid file path: path=" + path);
                }
                final File file = filePath.toFile();
                final String canonicalPath = file.getCanonicalPath();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            @Override
            public String getFileName() {
                return getBaseFileName(fileItem.getName());
            }
    
            protected String getBaseFileName(final String filePath) {
                final String fileName = new File(filePath).getName();
                int colonIndex = fileName.indexOf(":");
                if (colonIndex == -1) {
                    colonIndex = fileName.indexOf("\\\\"); // Windows SMB
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. gradlew

                case $arg in                                #(
                  -*)   false ;;                            # don't mess with options #(
                  /?*)  t=${arg#/} t=/${t%%/*}              # looks like a POSIX filepath
                        [ -e "$t" ] ;;                      #(
                  *)    false ;;
                esac
            then
                arg=$( cygpath --path --ignore --mixed "$arg" )
            fi
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
Back to Top