Registry / utility / better-files-2-13

better-files-2-13

JSON →
library3.9.2javamavenunverified

A simple, safe, and intuitive Scala library for file and I/O operations, designed as a replacement for java.io.File.

<dependency> <groupId>com.github.pathikrit</groupId> <artifactId>better-files_2.13</artifactId> <version>3.9.2</version> </dependency>
INSTALL
IMPORT
SIG · BETTER-FILES-2-13
B
better-files-2-13
utilityjavav3.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

File
better.files.File

Write and read a file using the better-files API.

import better.files._ val file = File("/tmp/example.txt") file.overwrite("Hello, World!") println(file.contentAsString) // prints: Hello, World!
Debug
Known issues
breakingbetter-files 3.x uses Scala 2.13; not compatible with Scala 2.12 or 3.x without cross-version artifacts.
fix
Use the correct artifact for your Scala version: better-files_2.12, better-files_2.13, or better-files_3.
affects: >=3.0.0
Upgrade
Version history
3.9.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
better-files-2-13 — mvn dependency:get better-files-2-13 · libregistry