trait Workspace[F[_]] extends AnyRef
Interface for some Workspace operations.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Workspace
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def bandedProposals: F[Map[QueueBand, List[Proposal]]]
- abstract def bulkEdits(ps: List[Proposal]): F[Map[String, BulkEdit]]
- abstract def commonConfig: F[Common]
- abstract def cwd: F[Path]
- abstract def isEmpty: F[Boolean]
True if the working directory is empty.
- abstract def mkdirs(path: Path): F[Path]
Create a directory relative to
cwd
, including any intermediate ones, returning the path of the created directory. - abstract def newQueueFolder(site: Site): F[Path]
Create a directory under
cwd
with a name like GN-20190524-103322 and return its path relative to the workspace root. - abstract def progIdHash: F[ProgIdHash]
- abstract def proposal(ref: String): F[(File, NonEmptyList[Proposal])]
- abstract def proposals: F[List[Proposal]]
- abstract def queueConfig(path: Path): F[QueueConfig]
- abstract def readData[A](path: Path)(implicit arg0: Decoder[A]): F[A]
Read a decodable value from the specified file.
- abstract def readRolloverReport(path: Path): F[RolloverReport]
- abstract def readText(path: Path): F[String]
- abstract def removed: F[List[Proposal]]
- abstract def writeData[A](path: Path, a: A, header: String = "")(implicit arg0: Encoder[A]): F[Path]
Write an encodable value to a file.
Write an encodable value to a file. Header must be a YAML comment.
- abstract def writeRolloveReport(path: Path, rr: RolloverReport): F[Path]
- abstract def writeText(path: Path, text: String): F[Path]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()