WriteConfig

org.llm4s.toolapi.builtin.filesystem.WriteConfig
See theWriteConfig companion class
object WriteConfig

Attributes

Companion
class
Source
FileConfig.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(allowedPaths: Seq[String], maxFileSize: Long, allowOverwrite: Boolean, createDirectories: Boolean, allowHardLinks: Boolean): WriteConfig

The configuration before #3055 added blockedPaths and blockedNames, with their defaults.

The configuration before #3055 added blockedPaths and blockedNames, with their defaults.

Attributes

Source
FileConfig.scala
def blockedPathsKeeping(writable: Seq[Path]): Seq[String]

FileConfig.DefaultBlockedPaths without the entries that hold any of writable (compared by real path), for a write blocklist that must leave those directories writable.

FileConfig.DefaultBlockedPaths without the entries that hold any of writable (compared by real path), for a write blocklist that must leave those directories writable.

Attributes

Source
FileConfig.scala

Concrete fields

The default WriteConfig.blockedNames: .git, a repository's metadata, hooks and config (#3055).

The default WriteConfig.blockedNames: .git, a repository's metadata, hooks and config (#3055).

Attributes

Source
FileConfig.scala

The default WriteConfig.blockedPaths (#3055): FileConfig.DefaultBlockedPaths, the system and credential locations, without any entry that holds the JVM's temporary directory (java.io.tmpdir) - on macOS /var and /private/var hold it - so a write to a temporary directory that allowedPaths names is not refused.

The default WriteConfig.blockedPaths (#3055): FileConfig.DefaultBlockedPaths, the system and credential locations, without any entry that holds the JVM's temporary directory (java.io.tmpdir) - on macOS /var and /private/var hold it - so a write to a temporary directory that allowedPaths names is not refused.

Attributes

Source
FileConfig.scala