File tree Expand file tree Collapse file tree
src/main/java/org/filesys/server/filesys Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ public enum Flags {
8383 CREATE_FILE , // File should be created if it does not exist
8484 DISALLOW_SET_CREATETIME , // do not allow setting of creation date/time via this file handle
8585 DISALLOW_SET_ACCESSTIME , // do not allow setting of access date/time via this file handle
86- DISALLOW_SET_MODIFYTIME // do not allow setting of the modify date/time via this file handle
86+ DISALLOW_SET_MODIFYTIME , // do not allow setting of the modify date/time via this file handle
87+ CLIENT_API // file is a special client API file
8788 };
8889
8990 // File identifier and parent directory identifier
@@ -613,6 +614,13 @@ public final int getProtocolId() {
613614 */
614615 public final long getRequestId () { return m_requestId ; }
615616
617+ /**
618+ * Check if the file is a special client API file
619+ *
620+ * @return boolean
621+ */
622+ public final boolean isClientAPIFile () { return m_flags .contains ( Flags .CLIENT_API ); }
623+
616624 /**
617625 * Set the file attributes, as specified by the SMBFileAttribute class.
618626 *
@@ -1270,6 +1278,9 @@ public String toString() {
12701278 if ( isPreviousVersion ())
12711279 str .append ( " Ver" );
12721280
1281+ if ( isClientAPIFile ())
1282+ str .append ( " ClientAPI" );
1283+
12731284 if ( hasAccessToken ()) {
12741285 str .append (",Token=" );
12751286 str .append ( getAccessToken ());
You can’t perform that action at this time.
0 commit comments