- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 102 for newDir (0.04 seconds)
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = newDir("some-dir"); assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); } public void testFileTraverser_multipleFilesAndDirectories() throws Exception { File fileA = newFile("file-a"); File fileB = newFile("file-b"); File dir1 = newDir("dir-1"); File dir2 = newDir("dir-2");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
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 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@BeforeEach void setUp() throws CIFSException { doReturn(mockTreeHandle).when(smbFile).ensureTreeConnected(); when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir"); when(mockLocator.getShare()).thenReturn("share"); // Mock tree handle's getConfig() to return our mock config when(mockTreeHandle.getConfig()).thenReturn(mockConfig); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
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; @Override public MetadataGraphEdge apply(MetadataGraphEdge e1, MetadataGraphEdge e2) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 329 bytes - Click Count (0) -
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());Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.2K bytes - Click Count (0) -
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"
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
|| MODEL_VERSION_4_2_0.equals(modelVersion); } /** * Checks if a model version is newer than 4.1.0. * * @param modelVersion the model version to check * @return true if newer than 4.1.0 */ public static boolean isNewerThan410(String modelVersion) { if (modelVersion == null) { return false; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
cmd/update-notifier.go
) // prepareUpdateMessage - prepares the update message, only if a // newer version is available. func prepareUpdateMessage(downloadURL string, older time.Duration) string { if downloadURL == "" || older <= 0 { return "" } // Compute friendly duration string to indicate time // difference between newer and current release. t := time.Time{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Click Count (0)