Lines Matching refs:file

13 	public function __construct($file) {  argument
14 $this->name = $file->name();
15 $this->deps = $file->dependency();
34 public function copy($project_path, $file) { argument
35 $this->deps = $file->dependency();
40 public function equal($project_path, $file) { argument
41 return $this->type() == $file->type()
42 && $this->deps == $file->dependency();
45 public static function create($project, $file) { argument
46 $class = 'Project' . ucfirst($file->type());
47 return new $class($project, $file);
97 public function __construct($project, $file) { argument
98 parent::__construct($file);
99 $this->set_content($project->path(), $file->content());
105 public function equal($project_path, $file) { argument
106 if (!parent::equal($project_path, $file)) return false;
107 return $this->content($project_path) == $file->content();
115 public function copy($project_path, $file) { argument
116 parent::copy($project_path, $file);
117 $this->set_content($project_path, $file->content());
127 public function __construct($project, $file) { argument
128 parent::__construct($file);
129 $this->recipe = $file->recipe();
132 public function equal($project_path, $file) { argument
133 return parent::equal($project_path, $file)
134 && $this->recipe == $file->recipe();
140 public function copy($project_path, $file) { argument
141 parent::copy($project_path, $file);
142 $this->recipe = $file->recipe();
202 public function __construct($project, $file) { argument
203 parent::__construct($project, $file);
204 $this->crosslink = $file->crosslink();
211 public function equal($project_path, $file) { argument
212 return parent::equal($project_path, $file)
213 && $this->crosslink == $file->crosslink();
216 public function copy($project_path, $file) { argument
217 parent::copy($project_path, $file);
218 $this->crosslink = $file->crosslink();