PathUtils

com.ossuminc.riddl.utils.PathUtils
object PathUtils

Attributes

Source
PathUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PathUtils.type

Members list

Value members

Concrete methods

def compareDirectories(a: Path, b: Path)(missing: Path => Boolean, differentSize: (Path, Path) => Boolean, differentContent: (Path, Path) => Boolean): Unit

Attributes

Source
PathUtils.scala

Copy a resource from the classpath of this program to a destination file

Copy a resource from the classpath of this program to a destination file

Value parameters

destination

path to the destination

resourceName

name/path of the resource relative to src/main/resources

Attributes

Source
PathUtils.scala
def copyURLToDir(from: URL, destDir: Path): String

Attributes

Source
PathUtils.scala

Determine if a program is in the current system PATH environment var

Determine if a program is in the current system PATH environment var

Value parameters

program

The name of the program to find

Attributes

Returns

True if the program is in the path, false otherwise

Source
PathUtils.scala