Пример #1
0
 @operator(
     value = IKeyword.WRITE,
     type = ITypeProvider.FIRST_TYPE,
     content_type = ITypeProvider.FIRST_CONTENT_TYPE,
     index_type = ITypeProvider.FIRST_KEY_TYPE)
 @doc(
     deprecated = "use the operator \"writable\" instead",
     value = "marks the file so that read and write operations are allowed.",
     comment = "A file is created by default in read-only mode.",
     examples = {
       @example(
           "write(shapefile(\"../images/point_eau.shp\"))   --: returns a file in read-write mode representing \"../images/point_eau.shp\"")
     },
     see = {"file", "writable"})
 @Deprecated
 public static IGamaFile opWrite(final IScope scope, final IGamaFile s) {
   s.setWritable(true);
   return s;
 }