lib/fastdfs-client/cmd.rb in fastdfs-client-1.3.0 vs lib/fastdfs-client/cmd.rb in fastdfs-client-1.4.0

- old
+ new

@@ -7,9 +7,19 @@ RESP_CODE = 100 DELETE_FILE = 12 GET_METADATA = 15 SET_METADATA = 13 DOWNLOAD_FILE = 14 + + MAPPING_NAME = { + 101 => "GET STORAGE", + 11 => "UPLOAD FILE", + 101 => "RESP CODE", + 12 => "DELETE FILE", + 15 => "GET METADATA", + 13 => "SET METADATA", + 14 => "DOWNLOAD FILE" + } end end end \ No newline at end of file