Branch: Tag:

2009-09-21

2009-09-21 11:15:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added is_monitored().

Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.24

1:   //   // Basic filesystem monitor.   // - // $Id: basic.pike,v 1.23 2009/08/11 09:51:14 grubba Exp $ + // $Id: basic.pike,v 1.24 2009/09/21 11:15:36 grubba Exp $   //   // 2009-07-09 Henrik Grubbström   //
617:    }   }    + //! Check whether a path is monitored. + //! + //! @param path + int(0..1) is_monitored(string path) + { +  return !!monitors[canonic_path(path)]; + } +    //! Check a single @[Monitor] for changes.   //!   //! @param m