Exemplo n.º 1
0
		public bool HammerOnce (DirectoryObject dir, EventTracker tracker)
		{
			FileObject created;
			created = new TextFileObject (); // FIXME: or an archive

			DirectoryObject parent;
			parent = dir.PickDirectory ();
			parent.AddChild (created, tracker);
			
			Log.Info ("Created file '{0}'", created.ShortName);

			return true;
		}
Exemplo n.º 2
0
        public bool HammerOnce(DirectoryObject dir, EventTracker tracker)
        {
            FileObject created;

            created = new TextFileObject();              // FIXME: or an archive

            DirectoryObject parent;

            parent = dir.PickDirectory();
            parent.AddChild(created, tracker);

            Log.Info("Created file '{0}'", created.ShortName);

            return(true);
        }