Class/Object

io.scalajs.npm.glob

Glob

Related Docs: object Glob | package glob

Permalink

class Glob extends EventEmitter

glob - a little globber.

Annotations
@RawJSType() @native() @JSImport( "glob" , "Glob" )
Example:
  1. new glob.Glob(pattern, [options], [cb])
Linear Supertypes
EventEmitter, IEventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Glob
  2. EventEmitter
  3. IEventEmitter
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Glob(pattern: String, callback: GlobCallback)

    Permalink
  2. new Glob(pattern: String, options: GlobOptions)

    Permalink
  3. new Glob(pattern: String)

    Permalink
  4. new Glob(pattern: String, options: GlobOptions, callback: GlobCallback)

    Permalink

    pattern

    the pattern to search for

    options

    the optional settings

    callback

    the optional callback

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def abort(): Unit

    Permalink

    Stop the search forever

  5. var aborted: UndefOr[Boolean]

    Permalink

    is set to true when calling abort().

    is set to true when calling abort(). There is no way at this time to continue a glob search after aborting, but you can re-use the statCache to avoid having to duplicate syscalls.

  6. def addListener(eventName: String, listener: Function): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. var cache: Any

    Permalink

    Convenience object.

    Convenience object. Each field has the following possible values:

    • false - Path does not exist
    • true - Path exists
    • 'FILE' - Path exists, and is not a directory
    • 'DIR' - Path exists, and is a directory
    • [file, entries, ...] - Path exists, is a directory, and the array value is the results of fs.readdir
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var domain: String

    Permalink
    Definition Classes
    IEventEmitter
  11. def emit(name: String, args: Any*): Any

    Permalink
    Definition Classes
    IEventEmitter
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def found: Array[String]

    Permalink

    The filenames found matching the pattern

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getMaxListeners(): Int

    Permalink
    Definition Classes
    IEventEmitter
  18. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  22. def listenerCount(eventName: String): Int

    Permalink
    Definition Classes
    IEventEmitter
  23. def listeners(eventName: String): Array[Function]

    Permalink
    Definition Classes
    IEventEmitter
  24. var minimatch: Any

    Permalink

    The minimatch object that the glob uses.

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def on(eventName: String, listener: Function): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  29. def once(eventName: String, listener: Function): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  30. val options: GlobOptions

    Permalink

    the optional settings

  31. val pattern: String

    Permalink

    the pattern to search for

  32. def pause(): Unit

    Permalink

    Temporarily stop the search

  33. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  34. var realpathCache: Any

    Permalink

    An optional object which is passed to fs.realpath to minimize unnecessary syscalls.

    An optional object which is passed to fs.realpath to minimize unnecessary syscalls. It is stored on the instantiated Glob object, and may be re-used.

  35. def removeAllListeners(): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  36. def removeAllListeners(eventName: String): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  37. def removeListener(eventName: String, listener: Function): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  38. def resume(): Unit

    Permalink

    Resume the search

  39. def setMaxListeners(n: Int): Glob.this.type

    Permalink
    Definition Classes
    IEventEmitter
  40. var statCache: Stats

    Permalink

    Cache of fs.stat results, to prevent statting the same path multiple times.

  41. var symlinks: Any

    Permalink

    A record of which paths are symbolic links, which is relevant in resolving ** patterns.

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. var usingDomains: Boolean

    Permalink
    Definition Classes
    IEventEmitter
  46. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EventEmitter

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped