<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 31/10/2016 à 10:17, Maxime Longuet a
écrit :<br>
</div>
<blockquote
cite="mid:03F31F91-CF35-4418-B933-2215FA0D4876@itika.net"
type="cite">
<pre wrap="">
I want often make directive with a move file inside. Maybe good idea to have NCF File method to move_file :)
</pre>
</blockquote>
<br>
Moving a file is not really a promise, this is because it is not a
state, it is an action.<br>
<br>
For example if I say "I want this file to be removed" it is a state,
I can check that the file has been removed or not, remove it if
needed and check again that is has been properly removed.<br>
<br>
If I say "I want this file to be moved" I cannot tell if the file
has been moved, or just deleted. And if the file is not here, is it
an error or is the promise kept ?<br>
<br>
<br>
<p><br>
</p>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<style type="text/css">
<!--
a.redlink:link { color: #1782E6; }
a.redlink:visited { color: #1782E6; }
.sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
.sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
-->
</style>
<table border="0" cellpadding="0" cellspacing="2" width="380">
<tbody>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><b><img alt="Logo Normation"
src="cid:part1.C14348BB.256E5109@normation.com"
align="left" height="50" hspace="10" width="50"> <span
class="sig">Benoît Peccatte</span></b><br>
<span class="sig"><i>Architecte</i></span><br>
<span class="sig"><a class="redlink"
href="http://www.normation.com">Normation</a></span> </td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><span class="sigsmall"><b>87, Rue de
Turbigo, 75003 Paris, France</b></span></td>
</tr>
<tr>
<td><span class="sigsmall">Phone:</span></td>
<td><span class="sigsmall">+33 (0)1 85 08 48 96</span></td>
</tr>
<tr>
<td colspan="2">
<hr> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>