Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for newDir (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

        }
    
        private Resource alignToBaseDirectory(Resource resource, Path basedir) {
            if (resource != null) {
                String newDir = mayAlignToBaseDirectoryOrNull(resource.getDirectory(), basedir);
                if (newDir != null) {
                    return resource.withDirectory(newDir);
                }
            }
            return resource;
        }
    
        private String alignToBaseDirectory(String path, Path basedir) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/logger/logrotate.go

    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/server-main.go

    	if ctx.IsSet("log-prefix") {
    		fileNameFunc = func() string {
    			return fmt.Sprintf("%s-%s.log", ctx.String("log-prefix"), fmt.Sprintf("%X", time.Now().UTC().UnixNano()))
    		}
    	}
    
    	output, err := logger.NewDir(logger.Options{
    		Directory:       lgDirAbs,
    		MaximumFileSize: int64(lgSize),
    		Compress:        ctx.Bool("log-compress"),
    		FileNameFunc:    fileNameFunc,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. src/cmd/buildid/buildid.go

    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    	f, err = os.OpenFile(file, os.O_RDWR, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := buildid.Rewrite(f, matches, newID); err != nil {
    		log.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            Model model = Model.newBuilder(true).properties(props).build();
            String xml = toXml(model);
    
            for (int i = 0; i < 10; i++) {
                String newStr = toXml(fromXml(xml));
                assertEquals(newStr, xml);
            }
        }
    
        @Test
        void testNamespaceInXmlNode() throws XMLStreamException {
            String xml = "<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

         * artifact, closer to the entry point, is selected
         */
        @Configuration(name = "closer-first", value = "true")
        private boolean closerFirst = true;
    
        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {
            int depth1 = e1.getDepth();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    final String oldId = (String) entity.get(fessConfig.getIndexFieldId());
                    if (!newId.equals(oldId)) {
                        entity.put(fessConfig.getIndexFieldId(), newId);
                        entity.remove(fessConfig.getIndexFieldVersion());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    final String oldId = (String) entity.get(fessConfig.getIndexFieldId());
                    if (!newId.equals(oldId)) {
                        entity.put(fessConfig.getIndexFieldId(), newId);
                        entity.remove(fessConfig.getIndexFieldVersion());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. manifests/addons/dashboards/README.md

    These get publish to [Grafana](https://grafana.com/orgs/istio/dashboards) during release, and are bundled into our
    [Grafana sample](../../../samples/addons/grafana.yaml).
    
    ## Jsonnet
    
    Newer dashboards are generated with [Jsonnet](https://jsonnet.org/) with the [Grafonnet](https://grafana.github.io/grafonnet/index.html).
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 815 bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/static-files.md

    **FastAPI**, geliştiricilere kolaylık sağlamak amacıyla `starlette.staticfiles`'ı `fastapi.staticfiles` olarak sağlar. Ancak `StaticFiles` sınıfı aslında doğrudan Starlette'den gelir.
    
    ///
    
    ### Bağlama (Mounting) Nedir?
    
    "Bağlamak", belirli bir yola tamamen "bağımsız" bir uygulama eklemek anlamına gelir ve ardından tüm alt yollara gelen istekler bu uygulama tarafından işlenir.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top